ASN1C C/C++ Common Runtime  ASN1C v7.8.x
Public Attributes | List of all members
ASN1Duration Struct Reference

#include <asn1type.h>

Public Attributes

OSUINT32 years
 
OSUINT32 months
 
OSUINT32 weeks
 
OSUINT32 days
 
OSUINT32 hours
 
OSUINT32 mins
 
OSUINT32 secs
 
OSUINT8 fracDigits
 
OSUINT32 fracValue
 
OSUINT8 precision
 

Detailed Description

Represents a duration of time. Durations are supposed to have weeks only, or a combination of years, months, ..., seconds. Durations of different precision are considered distinct values, even if their components are equal. "PT6H" and "PT6H0S" are considered distinct values and have a distinct ASN1Duration representations. "P0DT6H" and "PT6H" are considered equal and have the same ASN1Duration represenatation.


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