Differences From Artifact [127168a624]:
- File src/OFDate.m — part of check-in [6ec0a033bd] at 2011-09-19 11:39:15 on branch trunk — Fix calculation of microseconds. (user: js, size: 11434) [annotate] [blame] [check-ins using]
To Artifact [715fe07d58]:
- File src/OFDate.m — part of check-in [49ec1216cd] at 2011-09-21 20:11:38 on branch trunk — More precision for microseconds. (user: js, size: 11449) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
371 372 373 374 375 376 377 | [element autorelease]; return element; } - (uint32_t)microsecond { | | | 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 | [element autorelease]; return element; } - (uint32_t)microsecond { return (uint32_t)nearbyint((seconds - floor(seconds)) * 1000000); } - (uint8_t)second { GMTIME_RET(tm_sec) } |
︙ | ︙ |