Date and Time Runtime Classes
[Control (ASN1C_) Base ClassesASN.1 Type (ASN1T_) Base Classes]

Classes

class  ASN1TTime
class  ASN1TGeneralizedTime
class  ASN1TUTCTime
class  ASN1CTime
class  ASN1CGeneralizedTime
class  ASN1CUTCTime

Defines

#define LOG_TMERR(pctxt, stat)   ((pctxt != 0) ? LOG_RTERR (pctxt, stat) : stat)

Detailed Description

The date and time classes contain methods for doing date/time calculations for the various ASN.1 time types including GeneralizedTime and UTCTime.


Define Documentation

#define LOG_TMERR ( pctxt,
stat   )     ((pctxt != 0) ? LOG_RTERR (pctxt, stat) : stat)

This macro logs an error in the time functions. It checks to make sure that the context parameter is not null before returning either a logged error (stored in the context) or simply the status itself.

Parameters:
pctxt A pointer to an OSCTXT data structure; it may be null.
stat The error status.
Returns:
The result of calling LOG_RTERR or the status, depending on the value of the pctxt parameter.