Botan  1.11.15
Public Member Functions | Public Attributes
Botan::calendar_point Struct Reference

#include <calendar.h>

List of all members.

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 19 of file calendar.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 50 of file calendar.h.

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

Member Data Documentation

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

Definition at line 28 of file calendar.h.

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

Hour in 24-hour form, 0 to 23

Definition at line 31 of file calendar.h.

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

Minutes in the hour, 0 to 60

Definition at line 34 of file calendar.h.

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

The month, 1 through 12 for Jan to Dec

Definition at line 25 of file calendar.h.

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

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

Definition at line 39 of file calendar.h.

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

The year

Definition at line 22 of file calendar.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: