Botan  1.10.9
Public Member Functions | Public Attributes | List of all members
Botan::calendar_point Struct Reference

#include <time.h>

Public Member Functions

 calendar_point (u32bit y, byte mon, byte d, byte h, byte min, byte sec)
 

Public Attributes

byte day
 
byte hour
 
byte minutes
 
byte month
 
byte seconds
 
u32bit year
 

Detailed Description

Struct representing a particular date and time

Definition at line 18 of file time.h.

Constructor & Destructor Documentation

Botan::calendar_point::calendar_point ( u32bit  y,
byte  mon,
byte  d,
byte  h,
byte  min,
byte  sec 
)
inline

Initialize a calendar_point

Parameters
ythe year
monthe month
dthe day
hthe hour
minthe minute
secthe second

Definition at line 49 of file time.h.

49  :
50  year(y), month(mon), day(d), hour(h), minutes(min), seconds(sec) {}

Member Data Documentation

byte Botan::calendar_point::day

The day of the month, 1 through 31 (or 28 or 30 based on month

Definition at line 27 of file time.h.

Referenced by Botan::EAC_Time::EAC_Time(), and Botan::X509_Time::X509_Time().

byte Botan::calendar_point::hour

Hour in 24-hour form, 0 to 23

Definition at line 30 of file time.h.

Referenced by Botan::X509_Time::X509_Time().

byte Botan::calendar_point::minutes

Minutes in the hour, 0 to 60

Definition at line 33 of file time.h.

Referenced by Botan::X509_Time::X509_Time().

byte Botan::calendar_point::month

The month, 1 through 12 for Jan to Dec

Definition at line 24 of file time.h.

Referenced by Botan::EAC_Time::EAC_Time(), and Botan::X509_Time::X509_Time().

byte Botan::calendar_point::seconds

Seconds in the minute, 0 to 60, but might be slightly larger to deal with leap seconds on some systems

Definition at line 38 of file time.h.

Referenced by Botan::X509_Time::X509_Time().

u32bit Botan::calendar_point::year

The year

Definition at line 21 of file time.h.

Referenced by Botan::EAC_Time::EAC_Time(), and Botan::X509_Time::X509_Time().


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