Differences From Artifact [fde4276673]:
- File src/OFDate.m — part of check-in [2de9660312] at 2017-09-28 23:02:23 on branch trunk — Enable -Wnullable-to-nonnull-conversion and adjust (user: js, size: 14039) [annotate] [blame] [check-ins using]
To Artifact [618922b043]:
- File
src/OFDate.m
— part of check-in
[da9b9d7e3b]
at
2017-08-05 10:04:09
on branch trunk
— OFDate: Add -[localMinute]
Some time zones have an offset that is not just full hours. (user: js, size: 13999) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
640 641 642 643 644 645 646 |
}
- (OFDate *)earlierDate: (OFDate *)otherDate
{
if (otherDate == nil)
return self;
| | | | | | 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 |
}
- (OFDate *)earlierDate: (OFDate *)otherDate
{
if (otherDate == nil)
return self;
if ([self compare: otherDate] == OF_ORDERED_DESCENDING)
return otherDate;
return self;
}
- (OFDate *)laterDate: (OFDate *)otherDate
{
if (otherDate == nil)
return self;
if ([self compare: otherDate] == OF_ORDERED_ASCENDING)
return otherDate;
return self;
}
- (of_time_interval_t)timeIntervalSince1970
{
return _seconds;
|
| ︙ | ︙ |