OSFI-C  3.10.0
OpenSF Integration Library
osfi_timevalue Struct Reference

Representation of the value of a TIME parameter. More...

#include <OSFIC.h>

Data Fields

int16_t year
 Year number, from 1 to 9999 inclusive.
 
int8_t month
 Month number, from 1 to 12.
 
int8_t dom
 Day of month, from 1 to the appropriate length according to the year.
 
int8_t hour
 Hour of day, from 0 to 23.
 
int8_t minute
 Minute of hour, from 0 to 59.
 
int8_t sec
 Second of minute, from 0 to 60 to allow for leap seconds.
 
int32_t nanosec
 Fraction of second in ns resolution, from 0 to 999999999.
 

Related Functions

(Note that these are not member functions.)

int osfiTimevalue_cmp (const osfi_timevalue_t *a, const osfi_timevalue_t *b)
 Compares two values of a TIME parameter. More...
 

Detailed Description

Representation of the value of a TIME parameter.

The range of each field is according to the CCSDS ASCII time code "A" format.

Warning
The ranges mentioned here are for exposition only, they are not necessarily checked.
Note
This type is layout-compatible with the OSFI-C++ type osfi::confm::TimeValue.

The documentation for this struct was generated from the following file: