C# Class Mission01.TheDate

Afficher le fichier Open project: fahidnasir/DotNet-ShortCourse2015 Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Compare ( TheDate d ) : int
d TheDate
Résultat int

GetDay() public méthode

public GetDay ( ) : int
Résultat int

GetMonth() public méthode

public GetMonth ( ) : int
Résultat int

GetMonthString() public méthode

public GetMonthString ( ) : string
Résultat string

GetYear() public méthode

public GetYear ( ) : int
Résultat int

SetDay() public méthode

public SetDay ( int day ) : bool
day int
Résultat bool

SetMonth() public méthode

public SetMonth ( int month ) : bool
month int
Résultat bool

SetSaparator() public méthode

public SetSaparator ( char separator ) : void
separator char
Résultat void

SetYear() public méthode

public SetYear ( int year ) : bool
year int
Résultat bool

TheDate() public méthode

public TheDate ( ) : System
Résultat System

TheDate() public méthode

public TheDate ( TheDate d ) : System
d TheDate
Résultat System

TheDate() public méthode

public TheDate ( int day, int month, int year ) : System
day int
month int
year int
Résultat System

TheDate() public méthode

public TheDate ( int day, int month, int year, char separator ) : System
day int
month int
year int
separator char
Résultat System

ToString() public méthode

public ToString ( ) : String
Résultat String