ObjFW  Check-in [a420340467]

Overview
Comment:OFDate: Add -[localMinute]

Some time zones have an offset that is not just full hours.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.90
Files: files | file ages | folders
SHA3-256: a4203404673626c2cebcf96ba0c3ffc11ee8eaca8d46e137eacd6ef62daed4b3
User & Date: js on 2017-08-05 10:04:47
Other Links: branch diff | manifest | tags
Context
2017-08-05
10:05
Increase library minor number check-in: f2640cbcf2 user: js tags: 0.90
10:04
OFDate: Add -[localMinute] check-in: a420340467 user: js tags: 0.90
2017-08-03
19:17
OFFileManager: Set errno to 0 before readdir() check-in: e8005a3cc2 user: js tags: 0.90
Changes

Modified src/OFDate.h from [7c2a95ab3f] to [fcd33a4a3b].

184
185
186
187
188
189
190







191
192
193
194
195
196
197
/*!
 * @brief Returns the minute of the date.
 *
 * @return The minute of the date
 */
- (uint8_t)minute;








/*!
 * @brief Returns the hour of the date.
 *
 * @return The hour of the date
 */
- (uint8_t)hour;








>
>
>
>
>
>
>







184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
/*!
 * @brief Returns the minute of the date.
 *
 * @return The minute of the date
 */
- (uint8_t)minute;

/*!
 * @brief Returns the minute of the date in local time.
 *
 * @return The minute of the date in local time
 */
- (uint8_t)localMinute;

/*!
 * @brief Returns the hour of the date.
 *
 * @return The hour of the date
 */
- (uint8_t)hour;

Modified src/OFDate.m from [388aebd154] to [618922b043].

449
450
451
452
453
454
455





456
457
458
459
460
461
462
	GMTIME_RET(tm_sec)
}

- (uint8_t)minute
{
	GMTIME_RET(tm_min)
}






- (uint8_t)hour
{
	GMTIME_RET(tm_hour)
}

- (uint8_t)localHour







>
>
>
>
>







449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
	GMTIME_RET(tm_sec)
}

- (uint8_t)minute
{
	GMTIME_RET(tm_min)
}

- (uint8_t)localMinute
{
	LOCALTIME_RET(tm_min)
}

- (uint8_t)hour
{
	GMTIME_RET(tm_hour)
}

- (uint8_t)localHour