C# Class Itenso.TimePeriod.Years

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

Public Methods

Method Description
GetYears ( ) : ITimePeriodCollection
Years ( System.DateTime moment, int count ) : System
Years ( System.DateTime moment, int count, ITimeCalendar calendar ) : System
Years ( int year, int count ) : System
Years ( int year, int count, ITimeCalendar calendar ) : System

Protected Methods

Method Description
Format ( ITimeFormatter formatter ) : string

Method Details

Format() protected method

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

GetYears() public method

public GetYears ( ) : ITimePeriodCollection
return ITimePeriodCollection

Years() public method

public Years ( System.DateTime moment, int count ) : System
moment System.DateTime
count int
return System

Years() public method

public Years ( System.DateTime moment, int count, ITimeCalendar calendar ) : System
moment System.DateTime
count int
calendar ITimeCalendar
return System

Years() public method

public Years ( int year, int count ) : System
year int
count int
return System

Years() public method

public Years ( int year, int count, ITimeCalendar calendar ) : System
year int
count int
calendar ITimeCalendar
return System