您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ZXCalendarParsedResult.h 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Copyright 2012 ZXing authors
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #import "ZXParsedResult.h"
  17. @interface ZXCalendarParsedResult : ZXParsedResult
  18. @property (nonatomic, copy, readonly) NSString *summary;
  19. @property (nonatomic, strong, readonly) NSDate *start;
  20. @property (nonatomic, assign, readonly) BOOL startAllDay;
  21. @property (nonatomic, strong, readonly) NSDate *end;
  22. @property (nonatomic, assign, readonly) BOOL endAllDay;
  23. @property (nonatomic, copy, readonly) NSString *location;
  24. @property (nonatomic, copy, readonly) NSString *organizer;
  25. @property (nonatomic, strong, readonly) NSArray *attendees;
  26. @property (nonatomic, copy, readonly) NSString *resultDescription;
  27. @property (nonatomic, assign, readonly) double latitude;
  28. @property (nonatomic, assign, readonly) double longitude;
  29. - (id)initWithSummary:(NSString *)summary startString:(NSString *)startString endString:(NSString *)endString
  30. durationString:(NSString *)durationString location:(NSString *)location organizer:(NSString *)organizer
  31. attendees:(NSArray *)attendees description:(NSString *)description latitude:(double)latitude
  32. longitude:(double)longitude;
  33. + (id)calendarParsedResultWithSummary:(NSString *)summary startString:(NSString *)startString
  34. endString:(NSString *)endString durationString:(NSString *)durationString
  35. location:(NSString *)location organizer:(NSString *)organizer
  36. attendees:(NSArray *)attendees description:(NSString *)description latitude:(double)latitude
  37. longitude:(double)longitude;
  38. @end