18 #import "OFSerialization.h"
45 + (instancetype)dateWithTimeIntervalSince1970: (
double)seconds;
53 + (instancetype)dateWithTimeIntervalSinceNow: (
double)seconds;
71 + (instancetype)dateWithDateString: (
OFString*)string
87 + (instancetype)dateWithLocalDateString: (
OFString*)string
97 + (instancetype)distantFuture;
106 + (instancetype)distantPast;
115 - initWithTimeIntervalSince1970: (
double)seconds;
124 - initWithTimeIntervalSinceNow: (
double)seconds;
143 - initWithDateString: (
OFString*)string
161 - initWithLocalDateString: (
OFString*)string
169 - (uint32_t)microsecond;
197 - (uint8_t)localHour;
204 - (uint8_t)dayOfMonth;
211 - (uint8_t)localDayOfMonth;
218 - (uint8_t)monthOfYear;
225 - (uint8_t)localMonthOfYear;
239 - (uint16_t)localYear;
246 - (uint8_t)dayOfWeek;
253 - (uint8_t)localDayOfWeek;
260 - (uint16_t)dayOfYear;
267 - (uint16_t)localDayOfYear;
310 - (double)timeIntervalSince1970;
318 - (double)timeIntervalSinceDate: (
OFDate*)otherDate;
325 - (double)timeIntervalSinceNow;
333 - (
OFDate*)dateByAddingTimeInterval: (
double)seconds;