C# Class Date, study

Show file Open project: joonhwan/study Class Usage Examples

Public Methods

Method Description
Date ( ) : System
Date ( int year, int month, int day ) : System
DayOfYear ( ) : int
IsLeapYear ( int year ) : bool
ToString ( ) : string
this ( string str ) : int

Private Methods

Method Description
IsConsistent ( int year, int month, int day ) : bool

Method Details

Date() public method

public Date ( ) : System
return System

Date() public method

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

DayOfYear() public method

public DayOfYear ( ) : int
return int

IsLeapYear() public static method

public static IsLeapYear ( int year ) : bool
year int
return bool

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( string str ) : int
str string
return int