Handbook
Glossary
tm
Vocabulary
unix
.
time
Definition
USING:
alien.c-types
classes.struct
;
IN:
unix.time
STRUCT:
tm
{
sec
int
initial:
0
}
{
min
int
initial:
0
}
{
hour
int
initial:
0
}
{
mday
int
initial:
0
}
{
mon
int
initial:
0
}
{
year
int
initial:
0
}
{
wday
int
initial:
0
}
{
yday
int
initial:
0
}
{
isdst
int
initial:
0
}
{
gmtoff
long
initial:
0
}
{
zone
c-string
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
unix.time
;
M:
tm
clone
clone-underlying
\
tm
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
unix.time
;
M:
tm
struct-slot-values
{
[
sec>>
]
[
min>>
]
[
hour>>
]
[
mday>>
]
[
mon>>
]
[
year>>
]
[
wday>>
]
[
yday>>
]
[
isdst>>
]
[
gmtoff>>
]
[
zone>>
]
}
cleave>array
;
inline