The Trunk: Kernel-dtl.504.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Kernel-dtl.504.mcz

commits-2
David T. Lewis uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-dtl.504.mcz

==================== Summary ====================

Name: Kernel-dtl.504
Author: dtl
Time: 10 October 2010, 2:08:06.746 pm
UUID: d6d6493c-419c-45a9-83d2-7967f647f523
Ancestors: Kernel-nice.503

Remove Object>>inline: and Object>>var:declareC:
These are part of the VMMaker package and are no longer required in trunk.

=============== Diff against Kernel-nice.503 ===============

Item was added:
+ ----- Method: DateAndTime>>rounded (in category 'squeak protocol') -----
+ rounded
+ "Answer a date and time to the nearest whole second"
+
+ NanosInSecond / 2 >= self nanoSecond abs
+ ifTrue: [^ self species fromSeconds: self asSeconds]
+ ifFalse: [^ self species fromSeconds: self asSeconds + 1]
+ !

Item was added:
+ ----- Method: DateAndTime>>truncated (in category 'squeak protocol') -----
+ truncated
+ "Answer a date and time to the nearest preceding whole second"
+
+ ^ self species
+ year: self year
+ month: self month
+ day: self dayOfMonth
+ hour: self hour
+ minute: self minute
+ second: self second
+ offset: self offset !