EraYear() public method

public EraYear ( int &era, int date ) : int
era int
date int
return int
        public override int GetYear(DateTime time)
        {
            // M_CheckDateTime not needed, because EraYeat does the
            // right thing.
            int rd = CCFixed.FromDateTime(time);
            int era;

            return(M_EraHandler.EraYear(out era, rd));
        }
Beispiel #2
0
        public override int GetEra(DateTime time)
        {
            // M_CheckDateTime not needed, because EraYear does the
            // right thing.
            int rd = CCFixed.FromDateTime(time);
            int era;

            era_handler.EraYear(out era, rd);
            return(era);
        }