LunarDateTime constructor

LunarDateTime({
  1. required int year,
  2. required int month,
  3. required int day,
  4. bool isLeap = false,
  5. int timeZone = 7,
})

Constructs a LunarDateTime with the provided year, month, day, leap status, and timeZone.

Implementation

LunarDateTime(
    {required this.year,
    required this.month,
    required this.day,
    this.isLeap = false,
    this.timeZone = 7});