Copyright | (C) 2017 Jason Johnson |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Jason Johnson <jason.johnson.081@gmail.com> |
Stability | experimental |
Portability | POSIX, Windows |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This is the module for CalendarDate
and CalendarDateTime
in the Julian
calendar. The calendar is proleptic in that, while it does start in 45 BC it does not try to account for the fact
that before around 4 AD the leap year rule was accidentally implemented as a leap year every three years.
Synopsis
- data family Month cal
- data family DayOfWeek cal
- data Julian
- yearMonthDayToDays :: Year -> Month Julian -> DayOfMonth -> Int
Constructors
Types
data family Month cal Source #
Instances
data family DayOfWeek cal Source #
Instances
Instances
yearMonthDayToDays :: Year -> Month Julian -> DayOfMonth -> Int Source #