ccsds_cuc(CoarseOctets,FineOctets,Epoch) — Logtalk 3.100.1

object

# `ccsds_cuc(CoarseOctets,FineOctets,Epoch)`

- `CoarseOctets` - Number of coarse time octets.

- `FineOctets` - Number of fine time octets.

- `Epoch` - Epoch used when converting to and from Unix seconds. Supported values are `ccsds_epoch` and `unix_epoch`.

CCSDS unsegmented time code parser and generator.

Availability:
`logtalk_load(ccsds_time_codes(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-05-08
Compilation flags:
`static, context_switching_calls`
Implements:
`public` ccsds_time_code_protocol
Uses:
list
reader
Remarks:
(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

### `coarse/2`

Extracts the coarse field from a CUC time term.

Compilation flags:
`static`
Template:
`coarse(TimeCode,Coarse)`
Mode and number of proofs:
`coarse(+compound,-integer)` - `one`

### `fine/2`

Extracts the fine field from a CUC time term.

Compilation flags:
`static`
Template:
`fine(TimeCode,Fine)`
Mode and number of proofs:
`fine(+compound,-integer)` - `one`

## Protected predicates

(no local declarations; see entity ancestors if any)

## Private predicates

(no local declarations; see entity ancestors if any)

## Operators

(none)