-
class
Date
(Return to index)
-
Type:
Derived Classes
Include file:
Description: type definitions
Public:
-
Date ()
-
Date (dayTy newDay, const char* monthName, yearTy newYear)
-
Date (istream&)
-
Date (long dayCount)
-
Date (long dayCount, yearTy referenceYear)
- boolean
between (const Date& d1, const Date& d2) const
- dayTy
day () const
- dayTy
dayOfMonth () const
- static dayTy
dayOfWeek (const char* dayName)
- static boolean
dayWithinMonth (monthTy month, dayTy day, yearTy year)
- static dayTy
daysInYear (yearTy year)
- dayTy
firstDayOfMonth () const
- dayTy
firstDayOfMonth (monthTy month) const
- static julTy
jday (monthTy m, dayTy d, yearTy y)
- typedef unsigned long
julTy
- boolean
leap () const
- static boolean
leapYear (yearTy year)
- Date
max (const Date& dt) const
- void
mdy (monthTy&,dayTy&,yearTy&) const
- Date
min (const Date& dt) const
- monthTy
month () const
- typedef unsigned short
monthTy
- static const char*
nameOfDay (dayTy weekDayNumber)
- const char*
nameOfMonth () const
- static const char*
nameOfMonth (monthTy monthNumber)
- static monthTy
numberOfMonth (const char* monthName)
- boolean
operator!= (const Date& date) const
- void
operator+= (int dd)
- int
operator- (const Date& dt) const
- Date
operator- (int dd) const
- void
operator-= (int dd)
- boolean
operator< (const Date& date) const
- boolean
operator<= (const Date& date) const
- boolean
operator== (const Date& date) const
- boolean
operator> (const Date& date) const
- boolean
operator>= (const Date& date) const
- Date
previous (const char* dayName) const
- virtual void
printOn (ostream& strm) const
- void
scanFrom (istream& strm)
- dayTy
weekDay () const
- yearTy
year () const
- typedef unsigned short
yearTy
Friend methods:
(more documentation)