Date Class

Definition

Line 205 of System.Base/Time.cm

Constructors & Destructor

public nothrow Date()
public nothrow Date(short year_, Month month_, sbyte day_)

Member Functions

public nothrow Date AddDays(int n)
public nothrow Date AddMonths(int n)
public nothrow Date AddYears(short n)
public inline nothrow sbyte Day() const
public inline nothrow Month GetMonth() const
public nothrow String<char> ToString() const
public nothrow String<char> ToString(bool omitDashes) const
public inline nothrow short Year() const

Member Variables

private sbyte day
private Month month
private short year

Constructor& Destructor Details

Date Constructor

public nothrow Date()

Definition
Line 207 of System.Base/Time.cm


Date Constructor

public nothrow Date(short year_, Month month_, sbyte day_)

Definition
Line 210 of System.Base/Time.cm


Member Function Details

AddDays Member Function

public nothrow Date AddDays(int n)

Definition
Line 225 of System.Base/Time.cm


AddMonths Member Function

public nothrow Date AddMonths(int n)

Definition
Line 274 of System.Base/Time.cm


AddYears Member Function

public nothrow Date AddYears(short n)

Definition
Line 317 of System.Base/Time.cm


Day Member Function

public inline nothrow sbyte Day()

Definition
Line 221 of System.Base/Time.cm


GetMonth Member Function

public inline nothrow Month GetMonth()

Definition
Line 217 of System.Base/Time.cm


ToString Member Function

public nothrow String<char> ToString()

Definition
Line 328 of System.Base/Time.cm


ToString Member Function

public nothrow String<char> ToString(bool omitDashes)

Definition
Line 332 of System.Base/Time.cm


Year Member Function

public inline nothrow short Year()

Definition
Line 213 of System.Base/Time.cm