Bert Freudenberg uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-bf.702.mcz
==================== Summary ====================
Name: Kernel-bf.702
Author: bf
Time: 4 July 2012, 12:10:20.238 am
UUID: a349f289-2b28-4e98-abfc-5b4d199aa8f1
Ancestors: Kernel-bf.701
Make 7 more Date/Time tests pass. To make the remaining 3 tests pass we need to decide if unspecified timezones should be taken as local time (as per ISO 8601) or as UTC (as per changes by cmm). Currently there is a mix if the two.
=============== Diff against Kernel-bf.701 ===============
Item was changed:
----- Method: DateAndTime class>>date:time: (in category 'squeak protocol') -----
date: aDate time: aTime
^ self
year: aDate year
day: aDate dayOfYear
hour: aTime hour
minute: aTime minute
+ second: aTime second
+ offset: aDate start offset!
- second: aTime second!
Bert Freudenberg uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-bf.702.mcz
==================== Summary ====================
Name: Kernel-bf.702
Author: bf
Time: 4 July 2012, 12:10:20.238 am
UUID: a349f289-2b28-4e98-abfc-5b4d199aa8f1
Ancestors: Kernel-bf.701
Make 7 more Date/Time tests pass. To make the remaining 3 tests pass we need to decide if unspecified timezones should be taken as local time (as per ISO 8601) or as UTC (as per changes by cmm). Currently there is a mix if the two.
=============== Diff against Kernel-bf.701 ===============
Item was changed:
----- Method: DateAndTime class>>date:time: (in category 'squeak protocol') -----
date: aDate time: aTime
^ self
year: aDate year
day: aDate dayOfYear
hour: aTime hour
minute: aTime minute
+ second: aTime second
+ offset: aDate start offset!
- second: aTime second!
Bert Freudenberg uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-bf.701.mcz
==================== Summary ====================
Name: Kernel-bf.701
Author: bf
Time: 3 July 2012, 6:32:34.351 pm
UUID: 25125f3c-0ab4-4421-aef5-71cb84f20fa8
Ancestors: Kernel-eem.700
Fix for Date yesterday - Date today (thanks to Glen Paling for finding this)
=============== Diff against Kernel-eem.700 ===============
Item was changed:
----- Method: DateAndTime class>>todayAtNanoSeconds:offset: (in category 'squeak protocol') -----
todayAtNanoSeconds: nanoSecondsSinceMidnight offset: aDuration
"This is usually only during system startup..."
self waitForOffsets.
^ self basicNew
setJdn: DaysSinceEpoch
seconds: (nanoSecondsSinceMidnight // 1000000000)
nano: (nanoSecondsSinceMidnight \\ 1000000000 )
+ offset: aDuration
- offset: self localOffset
!
Bert Freudenberg uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-bf.701.mcz
==================== Summary ====================
Name: Kernel-bf.701
Author: bf
Time: 3 July 2012, 6:32:34.351 pm
UUID: 25125f3c-0ab4-4421-aef5-71cb84f20fa8
Ancestors: Kernel-eem.700
Fix for Date yesterday - Date today (thanks to Glen Paling for finding this)
=============== Diff against Kernel-eem.700 ===============
Item was changed:
----- Method: DateAndTime class>>todayAtNanoSeconds:offset: (in category 'squeak protocol') -----
todayAtNanoSeconds: nanoSecondsSinceMidnight offset: aDuration
"This is usually only during system startup..."
self waitForOffsets.
^ self basicNew
setJdn: DaysSinceEpoch
seconds: (nanoSecondsSinceMidnight // 1000000000)
nano: (nanoSecondsSinceMidnight \\ 1000000000 )
+ offset: aDuration
- offset: self localOffset
!
Bert Freudenberg uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-bf.701.mcz
==================== Summary ====================
Name: Kernel-bf.701
Author: bf
Time: 3 July 2012, 6:32:34.351 pm
UUID: 25125f3c-0ab4-4421-aef5-71cb84f20fa8
Ancestors: Kernel-eem.700
Fix for Date yesterday - Date today (thanks to Glen Paling for finding this)
=============== Diff against Kernel-eem.700 ===============
Item was changed:
----- Method: DateAndTime class>>todayAtNanoSeconds:offset: (in category 'squeak protocol') -----
todayAtNanoSeconds: nanoSecondsSinceMidnight offset: aDuration
"This is usually only during system startup..."
self waitForOffsets.
^ self basicNew
setJdn: DaysSinceEpoch
seconds: (nanoSecondsSinceMidnight // 1000000000)
nano: (nanoSecondsSinceMidnight \\ 1000000000 )
+ offset: aDuration
- offset: self localOffset
!