UtcTimestamp.st
author Stefan Vogel <sv@exept.de>
Tue, 11 Nov 2014 13:14:23 +0100
changeset 17028 7f4490e83429
parent 16997 f0867a7f248b
child 17032 e2c097d59814
permissions -rw-r--r--
class: UtcTimestamp added: #asDate #asTime Fix for Timestamps outside the epoch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     1
"
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2011 by eXept Software AG
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     4
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    10
 hereby transferred.
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    11
"
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    13
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    14
Timestamp subclass:#UtcTimestamp
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    18
	category:'Magnitude-Time'
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    19
!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    20
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    21
!UtcTimestamp class methodsFor:'documentation'!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    22
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    23
copyright
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    24
"
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    25
 COPYRIGHT (c) 2011 by eXept Software AG
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    26
              All Rights Reserved
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    27
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    28
 This software is furnished under a license and may be used
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    29
 only in accordance with the terms of that license and with the
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    31
 be provided or otherwise made available to, or used by, any
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    32
 other person.  No title to or ownership of the software is
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    33
 hereby transferred.
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    34
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    35
"
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    36
!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    37
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    38
documentation
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    39
"
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    40
    This is a Timestamp, that represents itself as UTC.
13231
e222e6c577ff changed: #documentation
Stefan Vogel <sv@exept.de>
parents: 13227
diff changeset
    41
    Internally it stores exactly the same value as Timestamp, 
15828
1564a3c784fa class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 13794
diff changeset
    42
    so the following expression is always true:
13231
e222e6c577ff changed: #documentation
Stefan Vogel <sv@exept.de>
parents: 13227
diff changeset
    43
e222e6c577ff changed: #documentation
Stefan Vogel <sv@exept.de>
parents: 13227
diff changeset
    44
        someTimestamp asUtcTimestamp = someTimestamp asLocalTimestamp
e222e6c577ff changed: #documentation
Stefan Vogel <sv@exept.de>
parents: 13227
diff changeset
    45
e222e6c577ff changed: #documentation
Stefan Vogel <sv@exept.de>
parents: 13227
diff changeset
    46
    But when printing, accessing hour, minute, ... and converting to Date and Time,
e222e6c577ff changed: #documentation
Stefan Vogel <sv@exept.de>
parents: 13227
diff changeset
    47
    it returns the values represented in the UTC zone instead of the local timezone.
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    48
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    49
    [author:]
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    50
        Stefan Vogel (stefan@zwerg.nil.exept.de)
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    51
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    52
    [instance variables:]
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    53
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    54
    [class variables:]
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    55
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    56
    [see also:]
13231
e222e6c577ff changed: #documentation
Stefan Vogel <sv@exept.de>
parents: 13227
diff changeset
    57
        Time Date
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    58
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    59
"
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
! !
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    61
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    62
!UtcTimestamp methodsFor:'accessing'!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    63
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    64
timeInfo
16979
a793015c75f4 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16969
diff changeset
    65
    ^ self utcTimeInfo
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    66
!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    67
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    68
timeZoneName
16987
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
    69
    ^ 'UTC'
16969
e5da107ac771 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16931
diff changeset
    70
!
e5da107ac771 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16931
diff changeset
    71
e5da107ac771 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16931
diff changeset
    72
utcOffset
e5da107ac771 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16931
diff changeset
    73
    ^ 0
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    74
! !
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    75
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    76
!UtcTimestamp methodsFor:'converting'!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    77
17028
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    78
asDate
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    79
    "return a Date object from the receiver.
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    80
     The returned date will only represent the day - not the timeOfDay.
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    81
     Notice: if you convert a local timestamp, you will get the local date;
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    82
     otherwise if you convert an utcTimestamp, you'll get the utc date."
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    83
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    84
    (osTime between:MinOSTime and:MaxOSTime) ifFalse:[
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    85
        |dayDelta day0|
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    86
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    87
        dayDelta := osTime // (24 * 3600 * 1000).
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    88
        day0 := Epoch asDate.
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    89
        ^ day0 addDays:dayDelta.
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    90
    ].
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    91
    ^ self timeInfo asDate
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    92
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    93
    "
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    94
     Timestamp now
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    95
     Timestamp now asDate
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    96
     (Timestamp now addTime:3600) asDate
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    97
     (Timestamp now addTime:3600) asTime
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    98
     Timestamp fromSeconds:(Timestamp now asSeconds + 3600)
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
    99
     (Timestamp fromSeconds:(Timestamp now asSeconds + 3600)) asDate
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   100
    "
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   101
!
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   102
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   103
asLocalTimestamp
13232
23a5fb2c645f comment/format in: #asUtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 13231
diff changeset
   104
    "represent myself as a timestamp in the local timezone"
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   105
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   106
    ^ Timestamp fromOSTime:osTime
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   107
!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   108
17028
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   109
asTime
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   110
    "return a Time object from the receiver.
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   111
     The returned time will only represent the timeOfDay - not the day,
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   112
     and does not include the milliseconds."
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   113
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   114
    |secondDelta|
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   115
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   116
    (osTime between:MinOSTime and:MaxOSTime) ifFalse:[
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   117
        secondDelta := osTime // 1000.
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   118
        "/ we do not know about DST in the far future and in the long gone past.
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   119
        secondDelta := secondDelta rem:(24*3600) .
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   120
        ^ Epoch asTime addSeconds:secondDelta.
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   121
    ].
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   122
    ^ self timeInfo asTime
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   123
!
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   124
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   125
asUtcTimestamp
13232
23a5fb2c645f comment/format in: #asUtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 13231
diff changeset
   126
    "I am an UtcTimestamp"
23a5fb2c645f comment/format in: #asUtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 13231
diff changeset
   127
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   128
    ^ self
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   129
! !
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   130
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   131
!UtcTimestamp methodsFor:'initialization'!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   132
16931
c62ad93254c2 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16715
diff changeset
   133
setOSTimeFromYear:y month:m day:d hour:h minute:min second:s millisecond:millis 
16987
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   134
    "private: ask the operating system to compute the internal osTime (based on the epoch),
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   135
     given y,m,d and h,m,s in utc time"
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   136
16997
f0867a7f248b class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16987
diff changeset
   137
   self setOSTimeFromUTCYear:y month:m day:d hour:h minute:min second:s millisecond:millis
13794
600bc500741b changed: #year:month:day:hour:minute:second:millisecond:
Claus Gittinger <cg@exept.de>
parents: 13232
diff changeset
   138
600bc500741b changed: #year:month:day:hour:minute:second:millisecond:
Claus Gittinger <cg@exept.de>
parents: 13232
diff changeset
   139
    "
16997
f0867a7f248b class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16987
diff changeset
   140
     UtcTimestamp now            
f0867a7f248b class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16987
diff changeset
   141
     Timestamp now              
f0867a7f248b class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16987
diff changeset
   142
     Timestamp now asTZTimestamp             
f0867a7f248b class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16987
diff changeset
   143
     Timestamp now asUtcTimestamp  
13794
600bc500741b changed: #year:month:day:hour:minute:second:millisecond:
Claus Gittinger <cg@exept.de>
parents: 13232
diff changeset
   144
    "
600bc500741b changed: #year:month:day:hour:minute:second:millisecond:
Claus Gittinger <cg@exept.de>
parents: 13232
diff changeset
   145
600bc500741b changed: #year:month:day:hour:minute:second:millisecond:
Claus Gittinger <cg@exept.de>
parents: 13232
diff changeset
   146
    "Modified (comment): / 13-10-2011 / 22:05:41 / cg"
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   147
! !
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   148
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   149
!UtcTimestamp methodsFor:'testing'!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   150
16969
e5da107ac771 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16931
diff changeset
   151
isLocalTimestamp
16987
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   152
    "return true, if I am a local timestamp"
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   153
16969
e5da107ac771 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16931
diff changeset
   154
    ^ false
e5da107ac771 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16931
diff changeset
   155
!
e5da107ac771 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16931
diff changeset
   156
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   157
isUtcTimestamp
16987
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   158
    "return true, if I am a utc timestamp"
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   159
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   160
    ^ true
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   161
! !
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   162
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   163
!UtcTimestamp methodsFor:'visiting'!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   164
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   165
acceptVisitor:aVisitor with:aParameter
16715
5528600b6497 comment/format only
Claus Gittinger <cg@exept.de>
parents: 15828
diff changeset
   166
    "dispatch for visitor pattern; send #visitUtcTimestamp:with: to aVisitor."
5528600b6497 comment/format only
Claus Gittinger <cg@exept.de>
parents: 15828
diff changeset
   167
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   168
    ^ aVisitor visitUtcTimestamp:self with:aParameter
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   169
! !
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   170
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   171
!UtcTimestamp class methodsFor:'documentation'!
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   172
16987
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   173
version
17028
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   174
    ^ '$Header: /cvs/stx/stx/libbasic/UtcTimestamp.st,v 1.12 2014-11-11 12:14:23 stefan Exp $'
16987
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   175
!
1c3e57adcf34 class: UtcTimestamp
Claus Gittinger <cg@exept.de>
parents: 16979
diff changeset
   176
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   177
version_CVS
17028
7f4490e83429 class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 16997
diff changeset
   178
    ^ '$Header: /cvs/stx/stx/libbasic/UtcTimestamp.st,v 1.12 2014-11-11 12:14:23 stefan Exp $'
13227
0dac835b156e initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   179
! !
15828
1564a3c784fa class: UtcTimestamp
Stefan Vogel <sv@exept.de>
parents: 13794
diff changeset
   180