Ejemplo n.º 1
0
        private ImperialDate(DateTime date)
        {
            var imperialDate = ImperialDateConverters.ConvertFromDateTime(date);

            Check        = imperialDate.Check;
            YearFraction = imperialDate.YearFraction;
            Year         = imperialDate.Year;
            Millennium   = imperialDate.Millennium;
        }
Ejemplo n.º 2
0
 public static ImperialDate From(long ticks) => ImperialDateConverters.ConvertFromTicks(ticks);