Beispiel #1
0
 public bool IsLeap(ICalendar date)
 {
     return((
                (date.DateToJulian(new PersianDate(date.Year + 1, 1, 1))) - date.DateToJulian(new PersianDate(date.Year, 1, 1))
                ) > 365);
 }
Beispiel #2
0
 protected Calendar(ICalendar iCalendar)
     : this(iCalendar.DateToJulian())
 {
 }