--- a/AbstractTime.st Thu Sep 21 18:51:45 2017 +0200
+++ b/AbstractTime.st Thu Sep 21 18:51:50 2017 +0200
@@ -584,7 +584,6 @@
"
! !
-
!AbstractTime methodsFor:'abstract'!
hours
@@ -1071,7 +1070,7 @@
asSeconds
"get the seconds since some point of time in the past.
For Time instances, this is the number of seconds elapsed since midnight;
- For TimeDurations, that is the duration in seconds;
+ For TimeDurations, that is the duration in seconds (truncated);
For TimeStamps, that is the number of seconds since the epoch"
^ self getSeconds
@@ -1081,6 +1080,8 @@
Time now asSeconds
(TimeDuration days:1) asSeconds
"
+
+ "Modified (comment): / 21-09-2017 / 18:49:31 / cg"
!
asTime
@@ -1124,7 +1125,6 @@
"/ ^ aTimestamp getSeconds - self getSeconds
! !
-
!AbstractTime methodsFor:'printing & storing'!
addBasicPrintBindingsTo:aDictionary language:languageOrNil
@@ -1525,11 +1525,13 @@
!
getSeconds
- "get the seconds since some point of time in the past.
+ "get the (truncated) seconds since some point of time in the past.
Since I am abstract (not knowing how the time is actually
represented), this must be done by a concrete class."
^ self subclassResponsibility
+
+ "Modified (comment): / 21-09-2017 / 18:50:30 / cg"
!
setMilliseconds:millis