12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- #import <Foundation/Foundation.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface GTLRDuration : NSObject <NSCopying>
- @property(nonatomic, readonly) int64_t seconds;
- @property(nonatomic, readonly) int32_t nanos;
- @property(nonatomic, readonly) NSTimeInterval timeInterval;
- @property(nonatomic, readonly) NSString *jsonString;
- + (nullable instancetype)durationWithSeconds:(int64_t)seconds
- nanos:(int32_t)nanos;
- + (nullable instancetype)durationWithJSONString:(nullable NSString *)jsonString;
- + (instancetype)durationWithTimeInterval:(NSTimeInterval)timeInterval;
- @end
- NS_ASSUME_NONNULL_END
|