[ENH] Chronology-c-ANSIDateAndTimeDuration ( current version ) (
[er][et][su][cd] [BUG] nanoSecond part of DateAndTime >>
year:month:day:hour:minute:second:nanoSecond:offset: )
tomkoenig at mindspring.com
tomkoenig at mindspring.com
Sun Jan 4 18:00:08 CET 2004
It appears there is a bug in the nanoSecond part of
(DateAndTime >> year:month:day:hour:minute:second:nanoSecond:offset:)
Doit on the following:
(DateAndTime year: 1 month: 1 day: 2 hour: 2 minute: 3 second: 4
nanoSecond: 5 offset: 6 hours )
Or execute the following from within sunit:
self assert:
((DateAndTime year: 1 month: 1 day: 1 hour: 0 minute: 0 second: 0
nanoSecond: 0 offset: 0 hours ) + (Duration days: 1 hours: 2 minutes: 3
seconds: 4 nanoSeconds: 5) ) =
(DateAndTime year: 1 month: 1 day: 2 hour: 2 minute: 3 second: 4
nanoSecond: 5 offset: 0 hours )
Tested with 3.7a #5623 plus Chronology change sets :
[ENH] Chronology-AnsiCompTests
[ENH] Chronology-c-ANSIDateAndTimeDuration ( current version )
[ENH] Chronology-d-YearMonthWeekRefactoring ( current version )
[ENH] Chronology-e-TemporaryDateTimeTimeSpan ( current version )
[ENH] Chronology-f-ANSICompatibilitySansDateAndTimeDuration.2.cs
[ENH] Chronology-i-ConvertTDateTTimeTTimestamp1of2.2.cs ( current
version )
[ENH] Chronology-j-ConvertTDateTTimeTTimestamp2of2.3.cs ( current
version )
[ENH] Chronology-l-Morphic.2.cs
More information about the Squeak-harvest
mailing list