TimehaspDate Class Reference

#include <Timehasp.h>

List of all members.

Public Types

enum  { Default = -1, Today = 0 }

Public Member Functions

HASP_EXPORT TimehaspDate (time_t aTime=Default)
HASP_EXPORT TimehaspDate (THMonth mm, THDay dd, THYear yy)
bool Valid () const
int Month () const
int Day () const
int Year () const
int APIYear () const

Private Member Functions

void Init (time_t aTime)
void Check ()

Private Attributes

int month
int day
int year
bool valid

Friends

class TimeHasp


Detailed Description

Definition at line 144 of file Timehasp.h.


Member Enumeration Documentation

anonymous enum
 

Enumerator:
Default 
Today 

Definition at line 151 of file Timehasp.h.


Constructor & Destructor Documentation

HASP_EXPORT TimehaspDate::TimehaspDate time_t  aTime = Default  )  [explicit]
 

HASP_EXPORT TimehaspDate::TimehaspDate THMonth  mm,
THDay  dd,
THYear  yy
 


Member Function Documentation

int TimehaspDate::APIYear  )  const [inline]
 

Definition at line 162 of file Timehasp.h.

References year.

void TimehaspDate::Check  )  [private]
 

int TimehaspDate::Day  )  const [inline]
 

Definition at line 160 of file Timehasp.h.

References day.

void TimehaspDate::Init time_t  aTime  )  [private]
 

int TimehaspDate::Month  )  const [inline]
 

Definition at line 159 of file Timehasp.h.

References month.

bool TimehaspDate::Valid  )  const [inline]
 

Definition at line 158 of file Timehasp.h.

References valid.

int TimehaspDate::Year  )  const [inline]
 

Definition at line 161 of file Timehasp.h.

References year.


Friends And Related Function Documentation

friend class TimeHasp [friend]
 

Definition at line 146 of file Timehasp.h.


Member Data Documentation

int TimehaspDate::day [private]
 

Definition at line 169 of file Timehasp.h.

Referenced by Day().

int TimehaspDate::month [private]
 

Definition at line 168 of file Timehasp.h.

Referenced by Month().

bool TimehaspDate::valid [private]
 

Definition at line 171 of file Timehasp.h.

Referenced by Valid().

int TimehaspDate::year [private]
 

Definition at line 170 of file Timehasp.h.

Referenced by APIYear(), and Year().


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:47:04 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001