object
ccsds_cds(DaySegmentOctets,SubmillisecondOctets,Epoch)ï
DaySegmentOctets- Number of day segment octets. Supported values are2and3.SubmillisecondOctets- Number of submillisecond octets. Supported values are0,2, and4.Epoch- Epoch used when converting to and from Unix seconds. Supported values areccsds_epochandunix_epoch.
CCSDS day segmented time code parser and generator.
Availability:
logtalk_load(ccsds_time_codes(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-09
Compilation flags:
static, context_switching_callsRemarks:
(none)
Inherited public predicates:
 epoch/1  format/1  from_unix_seconds/2  generate/2  generate/3  parse/2  unix_seconds/2  valid/1
Public predicatesï
days/2ï
Extracts the day segment value from a CDS time term.
Compilation flags:
staticTemplate:
days(TimeCode,Days)Mode and number of proofs:
days(+compound,-integer) - onemilliseconds/2ï
Extracts the millisecond-of-day value from a CDS time term.
Compilation flags:
staticTemplate:
milliseconds(TimeCode,Milliseconds)Mode and number of proofs:
milliseconds(+compound,-integer) - onesubmilliseconds/2ï
Extracts the optional submillisecond value from a CDS time term. Two-octet objects use microseconds; four-octet objects use picoseconds within the millisecond.
Compilation flags:
staticTemplate:
submilliseconds(TimeCode,Submilliseconds)Mode and number of proofs:
submilliseconds(+compound,-integer) - zero_or_oneProtected predicatesï
(no local declarations; see entity ancestors if any)
Private predicatesï
(no local declarations; see entity ancestors if any)
Operatorsï
(none)