Overview
Comment: | OFDate: Don't use inf for -[distant{Future,Past}]
This way, they are no longer special cases. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3ba1a9767997f908b4ebe5c202166a9f |
User & Date: | js on 2017-05-14 23:31:21 |
Other Links: | manifest | tags |
Context
2017-05-14
| ||
23:33 | OFNumber: Handle int endianess != float endianess check-in: e29e71523e user: js tags: trunk | |
23:31 | OFDate: Don't use inf for -[distant{Future,Past}] check-in: 3ba1a97679 user: js tags: trunk | |
21:29 | Add OFHTTPCookieManager check-in: 28bacc2aa0 user: js tags: trunk | |
Changes
Modified src/OFDate.m from [ada236f2a0] to [388aebd154].
︙ | |||
218 219 220 221 222 223 224 | 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | - + - + | return [[[self alloc] initWithLocalDateString: string format: format] autorelease]; } + (instancetype)distantFuture { return [[[self alloc] |
︙ | |||
329 330 331 332 333 334 335 | 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 | - - - - - - - - - - + + - | - initWithSerialization: (OFXMLElement *)element { self = [super init]; @try { void *pool = objc_autoreleasePoolPush(); |
︙ | |||
418 419 420 421 422 423 424 | 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 | - - - - + - - + + - - - - - + - | return OF_ORDERED_DESCENDING; return OF_ORDERED_SAME; } - (OFString *)description { |
︙ |