C# 클래스 System.Globalization.CCGregorianEraHandler.Era

파일 보기 프로젝트 열기: runefs/Marvin 1 사용 예제들

공개 메소드들

메소드 설명
Covers ( int date ) : bool

This function checks wether the given fixed day number is ion the time span of the era.

Era ( int nr, int start, int end ) : System.Collections

This constructor creates the era structure.

EraYear ( int &era, int date ) : int

This function returns the year of the era and sets the era in an output parameter.

GregorianYear ( int year ) : int

This method computes the Gregorian year from the year of this era.

메소드 상세

Covers() 공개 메소드

This function checks wether the given fixed day number is ion the time span of the era.
public Covers ( int date ) : bool
date int An integer giving the fixed day /// number. ///
리턴 bool

Era() 공개 메소드

This constructor creates the era structure.
public Era ( int nr, int start, int end ) : System.Collections
nr int The integer number of the era. ///
start int The fixed day number defining the /// first day of the era. ///
end int The fixed day number that defines the /// last day of the era. ///
리턴 System.Collections

EraYear() 공개 메소드

This function returns the year of the era and sets the era in an output parameter.
/// The exception is thrown if date is outside of the time /// span of the era. ///
public EraYear ( int &era, int date ) : int
era int An output parameter returning the /// era number. ///
date int An integer giving the fixed day /// number. ///
리턴 int

GregorianYear() 공개 메소드

This method computes the Gregorian year from the year of this era.
/// The exception is thrown if the year isn't valid in this /// era. ///
public GregorianYear ( int year ) : int
year int An integer giving the year in the /// era. ///
리턴 int