C# Class Itenso.TimePeriod.Year

Inheritance: YearTimeRange
显示文件 Open project: jwg4/date-difference Class Usage Examples

Public Methods

Method Description
AddYears ( int count ) : Year
GetNextYear ( ) : Year
GetPreviousYear ( ) : Year
Year ( ) : System
Year ( System.DateTime moment ) : System
Year ( System.DateTime moment, ITimeCalendar calendar ) : System
Year ( ITimeCalendar calendar ) : System
Year ( int year ) : System
Year ( int year, ITimeCalendar calendar ) : System

Protected Methods

Method Description
Format ( ITimeFormatter formatter ) : string

Method Details

AddYears() public method

public AddYears ( int count ) : Year
count int
return Year

Format() protected method

protected Format ( ITimeFormatter formatter ) : string
formatter ITimeFormatter
return string

GetNextYear() public method

public GetNextYear ( ) : Year
return Year

GetPreviousYear() public method

public GetPreviousYear ( ) : Year
return Year

Year() public method

public Year ( ) : System
return System

Year() public method

public Year ( System.DateTime moment ) : System
moment System.DateTime
return System

Year() public method

public Year ( System.DateTime moment, ITimeCalendar calendar ) : System
moment System.DateTime
calendar ITimeCalendar
return System

Year() public method

public Year ( ITimeCalendar calendar ) : System
calendar ITimeCalendar
return System

Year() public method

public Year ( int year ) : System
year int
return System

Year() public method

public Year ( int year, ITimeCalendar calendar ) : System
year int
calendar ITimeCalendar
return System