Timestamp.st
changeset 8264 b14c26a88e96
parent 8254 73b6109ab982
child 8271 c39b75be3c3f
equal deleted inserted replaced
8263:2bfa2f07b588 8264:b14c26a88e96
    35 "
    35 "
    36 !
    36 !
    37 
    37 
    38 documentation
    38 documentation
    39 "
    39 "
    40     This class represents absolute time values in milliSeconds starting some
    40     This class represents time values in milliSeconds starting some
    41     time in the past. 
    41     time in the past. 
    42     (typically, from 1st. Jan 1970, as used in the Unix operating system,
    42     (typically, from 1st. Jan 1970, as used in the Unix operating system,
    43      but other systems may bias the time differently.
    43      but other systems may bias the time differently.
    44      Actually, the implementation does not depend or even know which time/date 
    44      Actually, the implementation does not depend or even know which time/date 
    45      the OperatingSystem bases its time upon - it is simply keeping the value(s)
    45      the OperatingSystem bases its time upon - it is simply keeping the value(s)
    57 
    57 
    58     This class should not be confused with Time (which only represents the
    58     This class should not be confused with Time (which only represents the
    59     time within one day). Time instances cannot be used to compare times across midnight; 
    59     time within one day). Time instances cannot be used to compare times across midnight; 
    60     instances of Timestamp can.
    60     instances of Timestamp can.
    61 
    61 
    62     Notice: this class is aliased as Timestamp for ST-80 compatibility.
    62     Notice: this class was once called AbsoluteTime. Einstein told us in 1905, that talking
       
    63     about a absolute time is not a good idea (at least in our universe). So the class
       
    64     has been renamed to Timestamp which makes us more compatible to other ST dialects (e.g. VW)
       
    65     AbsoluteTime is still kept as an alias for backward compatibility.
    63 
    66 
    64     [author:]
    67     [author:]
    65         Claus Gittinger
    68         Claus Gittinger
    66 
    69 
    67     [See also:]
    70     [See also:]
  1200 ! !
  1203 ! !
  1201 
  1204 
  1202 !Timestamp class methodsFor:'documentation'!
  1205 !Timestamp class methodsFor:'documentation'!
  1203 
  1206 
  1204 version
  1207 version
  1205     ^ '$Header: /cvs/stx/stx/libbasic/Timestamp.st,v 1.90 2004-03-20 15:44:08 stefan Exp $'
  1208     ^ '$Header: /cvs/stx/stx/libbasic/Timestamp.st,v 1.91 2004-03-20 17:18:10 stefan Exp $'
  1206 ! !
  1209 ! !
  1207 
  1210 
  1208 Timestamp initialize!
  1211 Timestamp initialize!