ObjFW  History of src/OFDate.h of c4419f085b92f811

History of the file that is called src/OFDate.h at check-in c4419f085b92f811

2024-04-03
02:16
[0ad2116703] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 10307) [annotate] [blame] [check-ins using] [diff]
2024-02-03
08:53
[f4a8de554d] part of check-in [19f3948a26] Fix typos in documentation found by spell checker (check-in: [19f3948a26] user: js, branch: 1.0, size: 10099) [annotate] [blame] [check-ins using] [diff]
08:49
[6b70e68930] part of check-in [f97dc452b1] Fix typos in documentation found by spell checker (check-in: [f97dc452b1] user: js, branch: trunk, size: 10099) [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
[4f1d875b2a] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 10099) [annotate] [blame] [check-ins using] [diff]
2023-08-30
11:26
[3a59646909] part of check-in [3e992b0251] OFDate: Minor documentation improvement (check-in: [3e992b0251] user: js, branch: trunk, size: 10099) [annotate] [blame] [check-ins using] [diff]
2023-08-08
21:06
[0270f8788a] part of check-in [3865cc5695] Make OFDate a proper class cluster (check-in: [3865cc5695] user: js, branch: trunk, size: 9761) [annotate] [blame] [check-ins using] [diff]
2023-04-10
19:22
[5d6447d0f7] part of check-in [6ce0093f8d] Remove OFSerialization

While the idea sounds nice that the tag name is the class, this means the
serialization includes whether something is mutable or immutable. This means
doing as much as making something immutable changes the serialization, which
can then cause issues after being deserialized. (check-in: [6ce0093f8d] user: js, branch: trunk, size: 9843) [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
[e5b2860c38] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 9888) [annotate] [blame] [check-ins using] [diff]
2022-09-24
16:38
[ba59d767f1] part of check-in [5650ccc643] Document more exceptions (check-in: [5650ccc643] user: js, branch: trunk, size: 9888) [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
[f33ded2414] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 9486) [annotate] [blame] [check-ins using] [diff]
2021-04-17
00:51
[67980cebbc] part of check-in [8c0d76f782] of_time_interval_t -> OFTimeInterval (check-in: [8c0d76f782] user: js, branch: new-naming-convention, size: 9486) [annotate] [blame] [check-ins using] [diff]
00:14
[c0507d8eee] part of check-in [61fc389aee] of_comparison_result_t -> OFComparisonResult (check-in: [61fc389aee] user: js, branch: new-naming-convention, size: 9522) [annotate] [blame] [check-ins using] [diff]
2021-04-07
20:39
[dff8b1eb37] part of check-in [91a4c53bb1] Override -[compare:] with a more specific type (check-in: [91a4c53bb1] user: js, branch: trunk, size: 9526) [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
[e9a1a4ba66] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 9331) [annotate] [blame] [check-ins using] [diff]
2020-10-10
21:54
[b56f401ff6] part of check-in [ac004e624d] More type cleanups (check-in: [ac004e624d] user: js, branch: trunk, size: 9420) [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
[975839f73c] part of check-in [163a4a5a2e] Use /** */ instead of /*! */ for documentation (check-in: [163a4a5a2e] user: js, branch: trunk, size: 9325) [annotate] [blame] [check-ins using] [diff]
2020-07-25
14:17
[c713751502] part of check-in [33a133cda0] OFDate: Add a designated initializer

This means all other initializers use this initializer, which means all
other initializers can be reused for tagged pointers. (check-in: [33a133cda0] user: js, branch: tagged-pointers, size: 9325) [annotate] [blame] [check-ins using] [diff]

09:58
[8f39732833] part of check-in [95830bf78b] 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. (check-in: [95830bf78b] user: js, branch: tagged-pointers, size: 9295) [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
[de83b21a72] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 9270) [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
[ef356199a7] part of check-in [496695d778] Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. (check-in: [496695d778] user: js, branch: trunk, size: 9267) [annotate] [blame] [check-ins using] [diff]

2019-01-03
19:13
[1c9dc17f4c] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 9241) [annotate] [blame] [check-ins using] [diff]
2018-05-26
14:43
[68640e4769] part of check-in [3395923962] MessagePack: Add support for the date extension (check-in: [3395923962] user: js, branch: trunk, size: 9235) [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
[87064cce5f] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 9162) [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
[fe05372c22] part of check-in [cc3ad3ddd3] Documentation: Use @brief for all properties (check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 9139) [annotate] [blame] [check-ins using] [diff]
2017-10-31
22:27
[f919b696b5] part of check-in [bc218f2c07] Make +[OFDate distant*] a class property (check-in: [bc218f2c07] user: js, branch: trunk, size: 9013) [annotate] [blame] [check-ins using] [diff]
2017-10-29
21:58
[c8a7ef20f0] part of check-in [f3ccf14461] Convert methods to properties where appropriate

This improves Swift compatibility. (check-in: [f3ccf14461] user: js, branch: trunk, size: 8851) [annotate] [blame] [check-ins using] [diff]

2017-10-17
00:33
[728f213f2d] part of check-in [2f4e0df8be] Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (check-in: [2f4e0df8be] user: js, branch: trunk, size: 9465) [annotate] [blame] [check-ins using] [diff]

2017-09-27
22:35
[29c60ccceb] part of check-in [697e3ecbf7] More nullability fixes (check-in: [697e3ecbf7] user: js, branch: trunk, size: 9409) [annotate] [blame] [check-ins using] [diff]
2017-08-05
10:04
[fcd33a4a3b] part of check-in [da9b9d7e3b] OFDate: Add -[localMinute]

Some time zones have an offset that is not just full hours. (check-in: [da9b9d7e3b] user: js, branch: trunk, size: 9391) [annotate] [blame] [check-ins using] [diff]

2017-05-07
20:10
[7c2a95ab3f] part of check-in [4af49a13c3] Small code style change

Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 9251) [annotate] [blame] [check-ins using] [diff]

2017-02-04
17:45
[f57292fc57] part of check-in [5a31a537a1] Fix typos in comments and strings found by aspell (check-in: [5a31a537a1] user: js, branch: trunk, size: 9233) [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
[62d7433493] part of check-in [44f45c2e35] Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. (check-in: [44f45c2e35] user: js, branch: trunk, size: 9215) [annotate] [blame] [check-ins using] [diff]

2016-09-11
22:03
[7fa1e30f2a] part of check-in [e4439b7ef8] OFDate: Add support for parsing time zones

This adds %z for parsing time zones. Additionally, this also adds %a and
%b. (check-in: [e4439b7ef8] user: js, branch: trunk, size: 9209) [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
[e2abd5c33f] part of check-in [cec0f072f8] Update copyright

While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 9161) [annotate] [blame] [check-ins using] [diff]

00:41
[3a586242e7] part of check-in [2a27cf3000] Update copyright

While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 9165) [annotate] [blame] [check-ins using] [diff]

2015-11-28
19:47
[86ae627009] part of check-in [650b4be224] Minor documentation improvements (check-in: [650b4be224] user: js, branch: trunk, size: 9161) [annotate] [blame] [check-ins using] [diff]
2015-06-13
22:26
[5fea3d4d33] part of check-in [9e76144ef8] Add support for and use the new nullability (check-in: [9e76144ef8] user: js, branch: trunk, size: 9157) [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
[a91a3bb659] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 9109) [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
[1977db700a] part of check-in [246cfe0807] Documentation: Show correct imports (check-in: [246cfe0807] user: js, branch: trunk, size: 9103) [annotate] [blame] [check-ins using] [diff]
2014-01-16
23:09
[496c98e81f] part of check-in [dc31ce3d34] Add of_time_interval_t.

This is used instead for time intervals now instead of doubles. (check-in: [dc31ce3d34] user: js, branch: trunk, size: 9059) [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
[fcda070626] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 8951) [annotate] [blame] [check-ins using] [diff]
2013-02-12
18:22
[fe89bdb0e0] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 8945) [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
[ba694484be] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 8944) [annotate] [blame] [check-ins using] [diff]
2012-11-23
23:57
[a41dd96043] part of check-in [38dda0d1c7] Allow passing nil to -[earlierDate/laterDate:].

If the argument is nil, it will return the receiver. (check-in: [38dda0d1c7] user: js, branch: trunk, size: 8938) [annotate] [blame] [check-ins using] [diff]

2012-10-29
13:37
[c62550e787] part of check-in [1bcd4b3d46] Documentation improvements (add references). (check-in: [1bcd4b3d46] user: js, branch: 0.7, size: 8828) [annotate] [blame] [check-ins using] [diff]
13:35
[2d8613f05a] part of check-in [e685b742d9] Documentation improvements (add references). (check-in: [e685b742d9] user: js, branch: trunk, size: 8828) [annotate] [blame] [check-ins using] [diff]
08:00
[9d458ac8c4] part of check-in [7a3977d7fd] Documentation improvements. (check-in: [7a3977d7fd] user: js, branch: 0.7, size: 8824) [annotate] [blame] [check-ins using] [diff]
07:59
[acf9da0e04] part of check-in [63bf4de97b] Documentation improvements. (check-in: [63bf4de97b] user: js, branch: trunk, size: 8824) [annotate] [blame] [check-ins using] [diff]
2012-10-28
12:38
[267ceb61ed] part of check-in [1ad9565253] Switch to a headerdoc-compatible doc format. (check-in: [1ad9565253] user: js, branch: trunk, size: 8809) [annotate] [blame] [check-ins using] [diff]
2012-10-09
15:07
[09915d0305] part of check-in [fb515e8e24] Make use of instancetype. (check-in: [fb515e8e24] user: js, branch: trunk, size: 8809) [annotate] [blame] [check-ins using] [diff]
2012-03-01
15:03
[1702b03e5a] part of check-in [3a88ce0e8f] Fix OFDate documentation. (check-in: [3a88ce0e8f] user: js, branch: 0.6, size: 8711) [annotate] [blame] [check-ins using] [diff]
2012-01-05
00:56
[fba07d4c1f] part of check-in [ce70e17b38] Update copyright. (check-in: [ce70e17b38] user: js, branch: trunk, size: 8860) [annotate] [blame] [check-ins using] [diff]
2011-11-23
00:28
[a4bca5873b] part of check-in [0a87610175] Doxygen is picky about %. (check-in: [0a87610175] user: js, branch: trunk, size: 8854) [annotate] [blame] [check-ins using] [diff]
00:26
[1931e7f5a9] part of check-in [a49eec5be4] Make use of \warning in documentation. (check-in: [a49eec5be4] user: js, branch: trunk, size: 8814) [annotate] [blame] [check-ins using] [diff]
00:21
[b7bf140a82] part of check-in [bfdf9135d3] Add an implementation of strptime. (check-in: [bfdf9135d3] user: js, branch: trunk, size: 8798) [annotate] [blame] [check-ins using] [diff]
2011-09-17
15:20
[39834a73b3] part of check-in [4bef853a72] Change OFDate to use and export doubles. (check-in: [4bef853a72] user: js, branch: trunk, size: 8266) [annotate] [blame] [check-ins using] [diff]
2011-09-13
19:34
[39d0390269] part of check-in [42cd6eebb4] Add +[dateWith(Local)DateString:format:]. (check-in: [42cd6eebb4] user: js, branch: trunk, size: 10365) [annotate] [blame] [check-ins using] [diff]
2011-09-11
17:09
[089a2d86d4] part of check-in [8d554c0421] Documentation improvements. (check-in: [8d554c0421] user: js, branch: trunk, size: 8165) [annotate] [blame] [check-ins using] [diff]
2011-07-06
22:55
[a617c5259e] part of check-in [7558e235fe] Only allow an OFConstantString as format. (check-in: [7558e235fe] user: js, branch: trunk, size: 8165) [annotate] [blame] [check-ins using] [diff]
2011-05-12
18:45
[63ca3c4f75] part of check-in [0a61ada030] Add -[localYear] to OFDate. (check-in: [0a61ada030] user: js, branch: trunk, size: 8112) [annotate] [blame] [check-ins using] [diff]
18:27
[86c0fe3263] part of check-in [ace6f683f7] Add version to serialization and add serialization to more classes. (check-in: [ace6f683f7] user: js, branch: trunk, size: 7977) [annotate] [blame] [check-ins using] [diff]
2011-05-05
21:17
[501c2125ce] part of check-in [8490c927d2] More documentation improvements. (check-in: [8490c927d2] user: js, branch: trunk, size: 7932) [annotate] [blame] [check-ins using] [diff]
2011-04-22
15:48
[94535e3a6e] part of check-in [8c349fdf52] Style improvements in OFDate. (check-in: [8c349fdf52] user: js, branch: trunk, size: 6157) [annotate] [blame] [check-ins using] [diff]
2011-01-11
20:01
[4848b2e679] part of check-in [904971ac2b] Fix a documentation bug in OFDate. (check-in: [904971ac2b] user: js, branch: trunk, size: 6014) [annotate] [blame] [check-ins using] [diff]
2011-01-03
21:33
[49341feeb2] part of check-in [2cc53cf92d] Add a few more methods to OFDate. (check-in: [2cc53cf92d] user: js, branch: trunk, size: 6013) [annotate] [blame] [check-ins using] [diff]
2011-01-01
20:19
[dcf8e442d6] part of check-in [da6b3d26cb] Change license. (check-in: [da6b3d26cb] user: js, branch: trunk, size: 5519) [annotate] [blame] [check-ins using] [diff]
16:12
[5536148640] part of check-in [c084907c2c] Multiple OFDate changes.

* Don't expose time_t to the user.
* Use better return types for -[minute] etc.
* Add +[dateWithTimeIntervalSinceNow:].
* Add -[dateByAddingTimeInterval:]. (check-in: [c084907c2c] user: js, branch: trunk, size: 5263) [annotate] [blame] [check-ins using] [diff]

14:58
[3a80b7e602] part of check-in [c57f9fe4fb] Add +[distantFuture] and +[distantPast] to OFDate. (check-in: [c57f9fe4fb] user: js, branch: trunk, size: 3770) [annotate] [blame] [check-ins using] [diff]
2010-12-31
00:30
[8a0f20777b] part of check-in [bb9a6fb0da] Add -[earlierDate:] and -[laterDate:] to OFDate. (check-in: [bb9a6fb0da] user: js, branch: trunk, size: 3642) [annotate] [blame] [check-ins using] [diff]
2010-12-29
16:40
[7de007fe1b] part of check-in [172e8f39da] Add methods for local time to OFDate. (check-in: [172e8f39da] user: js, branch: trunk, size: 3404) [annotate] [blame] [check-ins using] [diff]
2010-12-28
21:21
[5bb469595c] part of check-in [f9d3f89aff] Add -[stringWithFormat:] to OFDate. (check-in: [f9d3f89aff] user: js, branch: trunk, size: 2688) [annotate] [blame] [check-ins using] [diff]
2010-12-27
22:36
[6d9504057e] part of check-in [b97bb55c50] Add methods to access parts of a date, in GMT/UTC. (check-in: [b97bb55c50] user: js, branch: trunk, size: 2401) [annotate] [blame] [check-ins using] [diff]
2010-12-25
19:31
Added: [c40f1e470a] part of check-in [39cb19595d] Add OFDate. (check-in: [39cb19595d] user: js, branch: trunk, size: 1807) [annotate] [blame] [check-ins using]