/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Calendar/GDataRecurrence.h

http://macfuse.googlecode.com/ · C++ Header · 47 lines · 9 code · 9 blank · 29 comment · 1 complexity · 6a3e779de9626d0a3546e63f8d011c6d MD5 · raw file

  1. /* Copyright (c) 2007-2008 Google Inc.
  2. *
  3. * Licensed under the Apache License, Version 2.0 (the "License");
  4. * you may not use this file except in compliance with the License.
  5. * You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS,
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License.
  14. */
  15. //
  16. // GDataRecurrence.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE
  19. #import "GDataObject.h"
  20. // a gd:recurrence, as in
  21. //
  22. // <gd:recurrence>
  23. // DTSTART;TZID=America/Los_Angeles:20060314T060000
  24. // DURATION:PT3600S ...
  25. // END:DAYLIGHT
  26. // END:VTIMEZONE
  27. // </gd:recurrence>
  28. //
  29. // http://code.google.com/apis/gdata/common-elements.html#gdRecurrence
  30. //
  31. // See RFC 2445: http://www.ietf.org/rfc/rfc2445.txt
  32. @interface GDataRecurrence : GDataObject <GDataExtension> {
  33. }
  34. + (GDataRecurrence *)recurrenceWithString:(NSString *)str;
  35. - (void)setStringValue:(NSString *)str;
  36. - (NSString *)stringValue;
  37. @end
  38. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_CALENDAR_SERVICE