ObjFW  Check-in [da9b9d7e3b]

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 | trunk
Files: files | file ages | folders
SHA3-256: da9b9d7e3b71f6b37d0aaa2d66c9a35cc390cfa0cacd5ead45d2848dbb7a5236
User & Date: js on 2017-08-05 10:04:09
Other Links: manifest | tags
Context
2017-08-05
10:06
Increase library major number check-in: 39672c33d2 user: js tags: trunk
10:04
OFDate: Add -[localMinute] check-in: da9b9d7e3b user: js tags: trunk
2017-08-03
19:18
OFFileManager: Set errno to 0 before readdir() check-in: 516936e0c0 user: js tags: trunk
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