Einhugur Framework for C++

Date Class

A Date class for date manipulation.

Object
   Date

class Date

Constructors

DateThe constructor will always construct a date instance with the current date and time.

Methods

GetDayReturns the Day field from the Date object.
GetDayOfWeekReturns the day of week.
GetDayOfYearReturns the number days from beginning of the year.
GetHourReturns the Hour field from the Date object.
GetMinuteReturns the Minute field from the Date object.
GetMonthReturns the Month field from the Date object.
GetSecondReturns the Second field from the Date object.
GetWeekOfYearReturns the number of weeks of the year that the date falls in.
GetYearReturns the Year field from the Date object.
Release (Inherited)Decreases reference count by one and deletes the object if the reference count reached zero.
Retain (Inherited)Increases the reference count by one.
SetDaySets the Day field in the Date object.
SetHourSets the Hour field in the Date object.
SetMinuteSets the Minute field in the Date object.
SetMonthSets the Month field in the Date object.
SetSecondSets the Second field in the Date object.
SetYearSets the Year field in the Date object.