C# Class Mission01.TheDate

显示文件 Open project: fahidnasir/DotNet-ShortCourse2015 Class Usage Examples

Public Methods

Method Description
Compare ( TheDate d ) : int
GetDay ( ) : int
GetMonth ( ) : int
GetMonthString ( ) : string
GetYear ( ) : int
SetDay ( int day ) : bool
SetMonth ( int month ) : bool
SetSaparator ( char separator ) : void
SetYear ( int year ) : bool
TheDate ( ) : System
TheDate ( TheDate d ) : System
TheDate ( int day, int month, int year ) : System
TheDate ( int day, int month, int year, char separator ) : System
ToString ( ) : String

Method Details

Compare() public method

public Compare ( TheDate d ) : int
d TheDate
return int

GetDay() public method

public GetDay ( ) : int
return int

GetMonth() public method

public GetMonth ( ) : int
return int

GetMonthString() public method

public GetMonthString ( ) : string
return string

GetYear() public method

public GetYear ( ) : int
return int

SetDay() public method

public SetDay ( int day ) : bool
day int
return bool

SetMonth() public method

public SetMonth ( int month ) : bool
month int
return bool

SetSaparator() public method

public SetSaparator ( char separator ) : void
separator char
return void

SetYear() public method

public SetYear ( int year ) : bool
year int
return bool

TheDate() public method

public TheDate ( ) : System
return System

TheDate() public method

public TheDate ( TheDate d ) : System
d TheDate
return System

TheDate() public method

public TheDate ( int day, int month, int year ) : System
day int
month int
year int
return System

TheDate() public method

public TheDate ( int day, int month, int year, char separator ) : System
day int
month int
year int
separator char
return System

ToString() public method

public ToString ( ) : String
return String