Gregorian constructor
Gregorian(])
Create a Gregorian date by using year
, month
and day
year and month default to 1
Implementation
factory Gregorian(
final int year, [
final int month = 1,
final int day = 1,
final int hour = 0,
final int minute = 0,
final int second = 0,
final int millisecond = 0,
]) {
return _Algo.createFromYearMonthDay(
year,
month,
day,
hour,
minute,
second,
millisecond,
);
}