Differences From Artifact [2d8613f05a]:
- File src/OFDate.h — part of check-in [e685b742d9] at 2012-10-29 13:35:53 on branch trunk — Documentation improvements (add references). (user: js, size: 8828) [annotate] [blame] [check-ins using]
To Artifact [a41dd96043]:
- File
src/OFDate.h
— part of check-in
[38dda0d1c7]
at
2012-11-23 23:57:35
on branch trunk
— Allow passing nil to -[earlierDate/laterDate:].
If the argument is nil, it will return the receiver. (user: js, size: 8938) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 | * @return A new, autoreleased OFString */ - (OFString*)localDateStringWithFormat: (OFConstantString*)format; /*! * @brief Returns the earlier of the two dates. * * @param otherDate Another date * @return The earlier date of the two dates */ - (OFDate*)earlierDate: (OFDate*)otherDate; /*! * @brief Returns the later of the two dates. * * @param otherDate Another date * @return The later date of the two dates */ - (OFDate*)laterDate: (OFDate*)otherDate; /*! | > > > > | 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 | * @return A new, autoreleased OFString */ - (OFString*)localDateStringWithFormat: (OFConstantString*)format; /*! * @brief Returns the earlier of the two dates. * * If the argument is nil, it returns the receiver. * * @param otherDate Another date * @return The earlier date of the two dates */ - (OFDate*)earlierDate: (OFDate*)otherDate; /*! * @brief Returns the later of the two dates. * * If the argument is nil, it returns the receiver. * * @param otherDate Another date * @return The later date of the two dates */ - (OFDate*)laterDate: (OFDate*)otherDate; /*! |
︙ | ︙ |