Class Val.Timebase
- Description
Base class for time related objects. Supports arithmetic with Interval objects.
- Note
Should not be used by itself.
- See also
- Variable
nsecs
int
Val.Timebase.nsecs- Description
Nanoseconds since epoch (for absolute time classes, epoch equals
1970/01/01 00:00:00 UTC
).
- Variable
usecs
int
|float
Val.Timebase.usecs- Description
Getting
Microseconds since epoch; reflects the equivalent value as the basic member nsecs.
Setting
Microseconds since epoch; reflects the equivalent value as the basic member nsecs.
- Method
create
Val.Timebase Val.Timebase(
void
|mapping
(string
:int
)tm
)
Val.Timebase Val.Timebase(
this_program
copy
)
Val.Timebase Val.Timebase(
int
|float
sec
,void
|int
nsec
)- Parameter
sec
Seconds since epoch.
- Parameter
nsec
Nanoseconds since epoch.