52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
*/
+ (instancetype)dateWithTimeIntervalSinceNow: (double)seconds;
/**
* \brief Creates a new OFDate with the specified string in the specified
* format.
*
* The time zone used is UTC. See +[dateWithLocalDateString:format:] if you
* want local time.
*
* See the manpage for strftime for information on the format.
*
* \warning The format is currently limited to the following format specifiers:
* %%d, %%e, %%H, %%m, %%M, %%S, %%y, %%Y, %%, %%n and %%t.
*
|
|
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
*/
+ (instancetype)dateWithTimeIntervalSinceNow: (double)seconds;
/**
* \brief Creates a new OFDate with the specified string in the specified
* format.
*
* The time zone used is UTC. See \ref dateWithLocalDateString:format: if you
* want local time.
*
* See the manpage for strftime for information on the format.
*
* \warning The format is currently limited to the following format specifiers:
* %%d, %%e, %%H, %%m, %%M, %%S, %%y, %%Y, %%, %%n and %%t.
*
|
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
- initWithTimeIntervalSinceNow: (double)seconds;
/**
* \brief Initializes an already allocated OFDate with the specified string in
* the specified format.
*
* The time zone used is UTC. If a time zone is specified anyway, an
* OFInvalidFormatException is thrown. See -[initWithLocalDateString:format:]
* if you want to specify a time zone.
*
* See the manpage for strftime for information on the format.
*
* \warning The format is currently limited to the following format specifiers:
* %%d, %%e, %%H, %%m, %%M, %%S, %%y, %%Y, %%, %%n and %%t.
*
|
|
|
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
- initWithTimeIntervalSinceNow: (double)seconds;
/**
* \brief Initializes an already allocated OFDate with the specified string in
* the specified format.
*
* The time zone used is UTC. If a time zone is specified anyway, an
* OFInvalidFormatException is thrown. See \ref initWithLocalDateString:format:
* if you want to specify a time zone.
*
* See the manpage for strftime for information on the format.
*
* \warning The format is currently limited to the following format specifiers:
* %%d, %%e, %%H, %%m, %%M, %%S, %%y, %%Y, %%, %%n and %%t.
*
|