Differences From Artifact [de83b21a72]:
- File src/OFDate.h — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 9270) [annotate] [blame] [check-ins using] [more...]
To Artifact [8f39732833]:
- File
src/OFDate.h
— part of check-in
[95830bf78b]
at
2020-07-25 09:58:24
on branch tagged-pointers
— OFDate: Prepare for tagged pointers
This replaces all ivar accesses with calls to -[timeIntervalSince1970]
(except for initializers and -[timeIntervalSince1970] itself, which is
the only method accessing an ivar and will be overridden for tagged
pointers), returns a placeholder for +[alloc] and makes +[distantFuture]
and +[distantPast] singletons. (user: js, size: 9295) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | @class OFConstantString; /*! * @class OFDate OFDate.h ObjFW/OFDate.h * * @brief A class for storing, accessing and comparing dates. */ OF_SUBCLASSING_RESTRICTED @interface OFDate: OFObject <OFCopying, OFComparing, OFSerialization, OFMessagePackRepresentation> { of_time_interval_t _seconds; } #ifdef OF_HAVE_CLASS_PROPERTIES | > > | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | @class OFConstantString; /*! * @class OFDate OFDate.h ObjFW/OFDate.h * * @brief A class for storing, accessing and comparing dates. */ #ifndef OF_DATE_M OF_SUBCLASSING_RESTRICTED #endif @interface OFDate: OFObject <OFCopying, OFComparing, OFSerialization, OFMessagePackRepresentation> { of_time_interval_t _seconds; } #ifdef OF_HAVE_CLASS_PROPERTIES |
︙ | ︙ |