Documentation

Time.Calendar.Days

structure Time.Day :

Modified Julian Day is a standard count of days, with zero being the day 1858-11-17

  • modifiedJulianDay : Int
Instances For
    Equations

    modified julian day of january 1, year 1

    Equations
    Equations
    Instances For
      def Time.Day.diffDays (day1 day2 : Time.Day) :
      Equations
      • day1.diffDays day2 = day1.modifiedJulianDay - day2.modifiedJulianDay
      Instances For
        Equations
        • a.lt b = (a.modifiedJulianDay < b.modifiedJulianDay)
        Instances For
          Equations
          • a.le b = (a.modifiedJulianDay b.modifiedJulianDay)
          Instances For
            Equations
            • a.instDecidableLt b = a.modifiedJulianDay.decLt b.modifiedJulianDay
            Equations
            • a.instDecidableLe b = a.modifiedJulianDay.decLe b.modifiedJulianDay