Differences From Artifact [7229a07ea7]:
- File src/OFDate.m — part of check-in [efb77e8878] at 2024-04-29 23:12:19 on branch 1.1 — Properly hide private symbols (user: js, size: 17924) [annotate] [blame] [check-ins using] [more...]
To Artifact [ddae0ab707]:
- File
src/OFDate.m
— part of check-in
[5164cbc576]
at
2024-05-01 15:20:29
on branch 1.1
— Document a lot of undocumented functions & macros
Also fixes Doxygen not creating documentation for `static OF_INLINE`
functions. (user: js, size: 17931) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
275 276 277 278 279 280 281 | if (seconds == 0) { static OFOnceControl once = OFOnceControlInitValue; OFOnce(&once, initZeroDate); return (id)zeroDate; } #if defined(OF_OBJFW_RUNTIME) && UINTPTR_MAX == UINT64_MAX | | | | 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 | if (seconds == 0) { static OFOnceControl once = OFOnceControlInitValue; OFOnce(&once, initZeroDate); return (id)zeroDate; } #if defined(OF_OBJFW_RUNTIME) && UINTPTR_MAX == UINT64_MAX value = OFFromBigEndian64(OFBitConvertDoubleToUInt64( OFToBigEndianDouble(seconds))); /* Almost all dates fall into this range. */ if (value & (UINT64_C(4) << 60)) { id ret = [OFTaggedPointerDate dateWithUInt64TimeIntervalSince1970: value]; if (ret != nil) |
︙ | ︙ |