Method | Description | |
---|---|---|
CCGregorianEraHandler ( ) : System.Collections |
Constructor.
|
|
CheckDateTime ( System time ) : void |
The method checks whether a given T:System.DateTime is covered by any era.
|
|
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 era ) : int |
This method computes the Gregorian year from the year of the given era.
|
|
ValidDate ( int date ) : bool |
The method tests whether a given fixed day number is covered by any era.
|
|
ValidEra ( int era ) : bool |
The method tests, whether the era number does exist.
|
|
appendEra ( int nr, int rd_start ) : void |
Method adds a yet not-ended era to the GregorianEraHandler instance.
|
|
appendEra ( int nr, int rd_start, int rd_end ) : void |
Method adds an era to the GregorianEraHandler instance.
|
public CCGregorianEraHandler ( ) : System.Collections | ||
return | System.Collections |
public CheckDateTime ( System time ) : void | ||
time | System | A
/// |
return | void |
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. /// |
return | int |
public GregorianYear ( int year, int era ) : int | ||
year | int | An integer giving the year in the /// era. /// |
era | int | An integer giving the era number. /// |
return | int |
public ValidDate ( int date ) : bool | ||
date | int | An integer representing the fixed day number. /// |
return | bool |
public ValidEra ( int era ) : bool | ||
era | int | An integer giving the era number. /// |
return | bool |
public appendEra ( int nr, int rd_start ) : void | ||
nr | int | The integer number of the era. /// |
rd_start | int | The fixed day number defining the /// first day of the era. /// |
return | void |
public appendEra ( int nr, int rd_start, int rd_end ) : void | ||
nr | int | The integer number of the era. /// |
rd_start | int | The fixed day number defining the /// first day of the era. /// |
rd_end | int | The fixed day number that defines the /// last day of the era. /// |
return | void |