ASN1C C/C++ Common Runtime  ASN1C v7.5.x
Classes
Date and Time Runtime Classes

Classes

class  ASN1TTime
 
class  ASN1CGeneralizedTime
 
class  ASN1CUTCTime
 
#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.

Macro Definition Documentation

◆ LOG_TMERR

#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
pctxtA pointer to an OSCTXT data structure; it may be null.
statThe error status.
Returns
The result of calling LOG_RTERR or the status, depending on the value of the pctxt parameter.