PKIFTime.h File Reference


Detailed Description

Subsystem: X.509 ASN.1 Encoding/Decoding (PKIFX509ASN)

Module: CPKIFTime

Id
PKIFTime.h 9097 2008-10-29 11:22:44Z agalustyan

Definition in file PKIFTime.h.

#include "PKIFdll.h"
#include <time.h>

Include dependency graph for PKIFTime.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CACDayOfMonthLimitType
struct  CACDayOfWeek
class  CPKIFTime

Enumerations

enum  TimeType { UTCTIME = 1, GENERALIZEDTIME = 2 }

Functions

 DECLARE_SMART_POINTERS (CPKIFTime)
void gregorian_to_JD0 (const int &year_, const int &month_, const int &dom_, int &jd0_)
void JD0_to_gregorian (const int &jd0_, int &year_, int &month_, int &dom_)
int JD0_to_DOW_index (const double &jd0_)

Variables

class CAC_API CPKIFDuration
class CAC_API CPKIFTime


Enumeration Type Documentation

enum TimeType

Enumerator:
UTCTIME 
GENERALIZEDTIME 

Definition at line 50 of file PKIFTime.h.


Function Documentation

DECLARE_SMART_POINTERS ( CPKIFTime   ) 

void gregorian_to_JD0 ( const int &  year_,
const int &  month_,
const int &  dom_,
int &  jd0_ 
) [inline]

Interface: External

The following routine convert a gregorian calendar date to a Julian Day

Returns:
None
Parameters:
year_  [in] Year
month_  [in] Year
dom_  [in] Day of the month
jd0_  [out] Julian Day

Definition at line 166 of file PKIFTime.h.

int JD0_to_DOW_index ( const double &  jd0_  )  [inline]

Interface: External

The following routine converts a Julian Day to DOW index

Returns:
None
Parameters:
jd0_  [in] Julian Day

Definition at line 224 of file PKIFTime.h.

void JD0_to_gregorian ( const int &  jd0_,
int &  year_,
int &  month_,
int &  dom_ 
) [inline]

Interface: External

The following routine converts a Julian Day to gregorian calendar date

Returns:
None
Parameters:
jd0_  [in] Julian Day
year_  [out] Year
month_  [out] Month
dom_  [out] Day of the Month

Definition at line 191 of file PKIFTime.h.


Variable Documentation

class CAC_API CPKIFDuration

class CAC_API CPKIFTime


Generated on Mon Nov 15 11:18:50 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6