Differences From Artifact [1c6620e225]:
- File
src/OFDate.m
— part of check-in
[494dca4ae4]
at
2011-05-14 12:26:39
on branch trunk
— Use XML for serialization.
This way, we don't need a new parser and don't use a new format. (user: js, size: 11847) [annotate] [blame] [check-ins using]
To Artifact [e2944cd61c]:
- File src/OFDate.m — part of check-in [4090b00720] at 2011-05-29 21:46:48 on branch trunk — Fix 3 typos introduced by style changes. (user: js, size: 11850) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
88 89 90 91 92 93 94 | \ if (seconds != seconds_) \ @throw [OFOutOfRangeException newWithClass: isa]; \ \ [mutex lock]; \ \ @try { \ | | | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | \ if (seconds != seconds_) \ @throw [OFOutOfRangeException newWithClass: isa]; \ \ [mutex lock]; \ \ @try { \ if ((tm = localtime(&seconds_)) == NULL) \ @throw [OFOutOfRangeException newWithClass: isa]; \ \ return tm->field; \ } @finally { \ [mutex unlock]; \ } # else |
︙ | ︙ |