class
Time
(Return to index)
Type:
Instantiable
Derived Classes
Include file:
Time/Time_.h
Description:
type definitions
Public:
Time
()
current time
Time
(clockTy s)
Time
(const
Date
&, hourTy h =0, minuteTy m =0, secondTy s=0, boolean dst =false)
Time
(hourTy h, minuteTy m, secondTy s =0, boolean dst =false)
boolean
between
(const
Time
& a, const
Time
& b) const
typedef unsigned long
clockTy
Date
date
() const
hourTy
hour
() const
hour in local time
hourTy
hourGMT
() const
hour in GMT
Time
min
(const
Time
&) const
minuteTy
minute
() const
minute in local time
minuteTy
minuteGMT
() const
minute in GMT
typedef unsigned short
minuteTy
boolean
operator!=
(const
Time
& t) const
void
operator+=
(long s)
long
operator-
(const
Time
& t) const
Time
operator-
(long s) const
void
operator-=
(long s)
boolean
operator<
(const
Time
& t) const
boolean
operator<=
(const
Time
& t) const
boolean
operator==
(const
Time
& t) const
boolean
operator>
(const
Time
& t) const
boolean
operator>=
(const
Time
& t) const
virtual void
printOn
(ostream& strm =cout) const
secondTy
second
() const
second in local time or GMT
typedef unsigned short
secondTy
clockTy
seconds
() const
Friend methods:
friend ostream&
operator <<
(ostream& s, const
Time
&)
friend
Time
operator+
(const
Time
& t, long s)
friend
Time
operator+
(long s, const
Time
& t)
(more documentation)