Handbook
Glossary
hour<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
hour<<
( value object -- )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
duckdb.ffi
math
;
M:
duckdb_time_struct
hour<<
T{
struct-slot-spec
{
name
"hour"
}
{
offset 0
}
{
class
fixnum
}
{
initial 0
}
{
type
int8_t
}
}
write-struct-slot
;
inline
USING:
accessors
calendar
kernel
math
slots
slots.private
;
M:
duration
hour<<
[
dup
real?
[
\
real
bad-slot-value
]
unless
]
dip
5
set-slot
;
inline
USING:
accessors
calendar
kernel
math
slots
slots.private
;
M:
timestamp
hour<<
[
dup
integer?
[
\
integer
bad-slot-value
]
unless
]
dip
5
set-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
unix.time
;
M:
tm
hour<<
T{
struct-slot-spec
{
name
"hour"
}
{
offset 8
}
{
class
fixnum
}
{
initial 0
}
{
type
int
}
}
write-struct-slot
;
inline