ObjFW  History of src/OFDate.h of cec0f072f847e4ab

History of file src/OFDate.h at check-in cec0f072f847e4ab

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [b30924be89] check-in: [164f2fb4bf] user: js, branch: trunk, size: 10306 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [0ad2116703] check-in: [7413a728a7] user: js, branch: trunk, size: 10307 [annotate] [blame] [check-ins using] [diff]
2024-02-03
08:53
Fix typos in documentation found by spell checker file: [f4a8de554d] check-in: [19f3948a26] user: js, branch: 1.0, size: 10099 [annotate] [blame] [check-ins using] [diff]
08:49
Fix typos in documentation found by spell checker file: [6b70e68930] check-in: [f97dc452b1] user: js, branch: trunk, size: 10099 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [4f1d875b2a] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 10099 [annotate] [blame] [check-ins using] [diff]
2023-08-30
11:26
OFDate: Minor documentation improvement file: [3a59646909] check-in: [3e992b0251] user: js, branch: trunk, size: 10099 [annotate] [blame] [check-ins using] [diff]
2023-08-08
21:06
Make OFDate a proper class cluster file: [0270f8788a] check-in: [3865cc5695] user: js, branch: trunk, size: 9761 [annotate] [blame] [check-ins using] [diff]
2023-04-10
19:22
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. file: [5d6447d0f7] check-in: [6ce0093f8d] user: js, branch: trunk, size: 9843 [annotate] [blame] [check-ins using] [diff]

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

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

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

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

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

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

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

2017-10-17
00:33
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. file: [728f213f2d] check-in: [2f4e0df8be] user: js, branch: trunk, size: 9465 [annotate] [blame] [check-ins using] [diff]

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

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

2017-05-07
20:10
Small code style change

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

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

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

2016-09-11
22:03
OFDate: Add support for parsing time zones

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

2016-01-03
00:43
Update copyright

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

00:41
Update copyright

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

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

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

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

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

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

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

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