Klaas Pieter Annema
2ae8d25d18
don't use === for date equality checking
...
Apparently this will return false for equal dates, reverted the actual equality check to what was already in Cappuccino before my fix !(date < otherDate || date > otherDate)
2010-07-19 13:10:15 +02:00
Klaas Pieter Annema
564668587c
fix CPDate isEqual: and isEqualToDate:
2010-07-15 14:42:48 +02:00
Alexander Ljungberg and Ross Boucher
51825db716
Fixed: [CPDate description] did not generate a correct date for users in timezones with a negative timezone offset.
2010-06-10 10:49:49 -07:00
Stephen Ierodiaconou and Ross Boucher
b98f0b1427
Apply style rules to Foundation
2010-05-26 08:53:05 -07:00
Alexander Ljungberg and Ross Boucher
f89c2e0ba9
Fixed: CPDates compared equal to nil and CPNull.
2010-02-09 10:59:59 -08:00
Alexander Ljungberg and Randall Luecke
a3f9b65501
Implemented [CPDate copy] with unit test. Also whitespace cleanup in CPDate.
2010-02-09 01:57:24 -05:00
Ross Boucher
44fbf8afe2
Add support for encoding dates, courtesy of luddep.
2009-11-24 23:02:38 -05:00
Ross Boucher
1eb9202233
A few style guideline changes.
2009-11-24 22:56:18 -05:00
Alexander Ljungberg and Ross Boucher
b7da92d225
CPDate initWithString: now takes proper international format strings like NSDate. Similarly CPDate description generates such strings.
2009-11-24 22:42:02 -05:00
Ross Boucher
4ca0044bbd
Add isEqual: to CPDate
2009-10-28 23:38:58 -07:00
Ross Boucher
f46aa870a7
adding briefs and unifying class header structure
...
Conflicts:
Foundation/CPArray.j
Foundation/CPAttributedString.j
Foundation/CPBundle.j
Foundation/CPCountedSet.j
Foundation/CPIndexSet.j
Foundation/CPJSONPConnection.j
2009-05-30 13:49:10 -07:00
Ross Boucher
850125b8ab
Add documentation groups
2009-05-18 15:43:36 -07:00
Ross Boucher
8da7b0ee91
Fix some spacing/style issues in CPDate.
2009-02-26 17:21:40 -08:00
Landon Fuller and Ross Boucher
1da9e93241
Implement support for UNIX epoch initialization.
...
Add support for the +[CPDate dateWithTimeIntervalSince1970:]
and -[CPDate initWithTimeIntervalSince1970].
2009-02-26 17:13:37 -08:00
Francisco Ryan Tolmasky I
5144a5a579
Added @accessor support, @import, and fixed spacing bug with @selector.
...
Reviewed by ross.
2008-10-26 00:48:49 -07:00
Tom Robinson
1a7baf0b0d
Copyright notice for CPDate.j
2008-09-13 01:04:54 -07:00
Tom Robinson
bf5381e1a3
Initial commit of CPDate and an OJUnit test for CPDate
2008-09-12 22:39:51 -07:00