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