BFLibCPP 0.1
CPP Library
Loading...
Searching...
No Matches
BF::Time Class Reference

#include <time.hpp>

Inheritance diagram for BF::Time:
Collaboration diagram for BF::Time:

Public Member Functions

 Time (BFTime t)
 
 Time ()
 
 ~Time ()
 
BFTime epoch () const
 
int year () const
 The actual calendar. not year - 1900.
 
int month () const
 1 - 12
 
int day () const
 1 - 31
 
int hour () const
 0 - 23
 
int minute () const
 0 - 59
 
int second () const
 0 - 59
 
bool operator== (const Time &t)
 Overload operators.
 
Timeoperator+ (const Time &t)
 
Timeoperator- (const Time &t)
 
Timeoperator* (const Time &t)
 
Timeoperator/ (const Time &t)
 
Timeoperator= (const Time &t)
 
Timeoperator= (const BFTime &t)
 
- Public Member Functions inherited from BF::Object
 Object ()
 
 Object (Object &obj)
 
virtual ~Object ()
 

Static Public Member Functions

static TimecreateCurrent ()
 
- Static Public Member Functions inherited from BF::Object
static void retain (Object *obj)
 
static void release (Object *obj)
 
static int retainCount (Object *obj)
 
static int retainCount (Object &obj)
 

Constructor & Destructor Documentation

◆ Time() [1/2]

Time::Time ( BFTime t)

◆ Time() [2/2]

Time::Time ( )

◆ ~Time()

Time::~Time ( )

Member Function Documentation

◆ createCurrent()

Time * Time::createCurrent ( )
static
Here is the call graph for this function:

◆ day()

int Time::day ( ) const

1 - 31

◆ epoch()

BFTime Time::epoch ( ) const

returns seconds since 1/1/70

◆ hour()

int Time::hour ( ) const

0 - 23

◆ minute()

int Time::minute ( ) const

0 - 59

◆ month()

int Time::month ( ) const

1 - 12

◆ operator*()

Time * Time::operator* ( const Time & t)
Here is the call graph for this function:

◆ operator+()

Time * Time::operator+ ( const Time & t)
Here is the call graph for this function:

◆ operator-()

Time * Time::operator- ( const Time & t)
Here is the call graph for this function:

◆ operator/()

Time * Time::operator/ ( const Time & t)
Here is the call graph for this function:

◆ operator=() [1/2]

Time & Time::operator= ( const BFTime & t)

◆ operator=() [2/2]

Time & Time::operator= ( const Time & t)

◆ operator==()

bool Time::operator== ( const Time & t)

Overload operators.

Here is the call graph for this function:

◆ second()

int Time::second ( ) const

0 - 59

◆ year()

int Time::year ( ) const

The actual calendar. not year - 1900.


The documentation for this class was generated from the following files: