Safe Haskell  Safe 

Language  Haskell2010 
The Modified Julian Day is a standard count of days, with zero being the day 18581117.
ModifiedJulianDay  
Fields 
Enum Day  
Defined in Data.Time.Calendar.Days  
Eq Day  
Data Day  
Defined in Data.Time.Calendar.Days Methodsgfoldl :: (forall d b. Data d => c (d > b) > d > c b) > (forall g. g > c g) > Day > c Day Source gunfold :: (forall b r. Data b => c (b > r) > c r) > (forall r. r > c r) > Constr > c Day Source toConstr :: Day > Constr Source dataTypeOf :: Day > DataType Source dataCast1 :: Typeable t => (forall d. Data d => c (t d)) > Maybe (c Day) Source dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) > Maybe (c Day) Source gmapT :: (forall b. Data b => b > b) > Day > Day Source gmapQl :: (r > r' > r) > r > (forall d. Data d => d > r') > Day > r Source gmapQr :: forall r r'. (r' > r > r) > r > (forall d. Data d => d > r') > Day > r Source gmapQ :: (forall d. Data d => d > u) > Day > [u] Source gmapQi :: Int > (forall d. Data d => d > u) > Day > u Source gmapM :: Monad m => (forall d. Data d => d > m d) > Day > m Day Source gmapMp :: MonadPlus m => (forall d. Data d => d > m d) > Day > m Day Source gmapMo :: MonadPlus m => (forall d. Data d => d > m d) > Day > m Day Source  
Ord Day  
Read Day  
Show Day  
Ix Day  
NFData Day  
Defined in Data.Time.Calendar.Days  
ParseTime Day  
Defined in Data.Time.Format.Parse.Instances MethodssubstituteTimeSpecifier :: proxy Day > TimeLocale > Char > Maybe String Source parseTimeSpecifier :: proxy Day > TimeLocale > Maybe ParseNumericPadding > Char > ReadP String Source buildTime :: TimeLocale > [(Char, String)] > Maybe Day Source  
FormatTime Day  
Defined in Data.Time.Format.Format.Instances  
ISO8601 Day 

Defined in Data.Time.Format.ISO8601 Methods 
addDays :: Integer > Day > Day Source
diffDays :: Day > Day > Integer Source
data CalendarDiffDays Source
CalendarDiffDays  
calendarDay :: CalendarDiffDays Source
calendarWeek :: CalendarDiffDays Source
calendarMonth :: CalendarDiffDays Source
calendarYear :: CalendarDiffDays Source
scaleCalendarDiffDays :: Integer > CalendarDiffDays > CalendarDiffDays Source
Scale by a factor. Note that scaleCalendarDiffDays (1)
will not perfectly invert a duration, due to variable month lengths.
toGregorian :: Day > (Integer, Int, Int) Source
Convert to proleptic Gregorian calendar. First element of result is year, second month number (112), third day (131).
fromGregorian :: Integer > Int > Int > Day Source
Convert from proleptic Gregorian calendar. First argument is year, second month number (112), third day (131). Invalid values will be clipped to the correct range, month first, then day.
fromGregorianValid :: Integer > Int > Int > Maybe Day Source
Convert from proleptic Gregorian calendar. First argument is year, second month number (112), third day (131). Invalid values will return Nothing
showGregorian :: Day > String Source
Show in ISO 8601 format (yyyymmdd)
gregorianMonthLength :: Integer > Int > Int Source
The number of days in a given month according to the proleptic Gregorian calendar. First argument is year, second is month.
addGregorianMonthsClip :: Integer > Day > Day Source
Add months, with days past the last day of the month clipped to the last day. For instance, 20050130 + 1 month = 20050228.
addGregorianMonthsRollOver :: Integer > Day > Day Source
Add months, with days past the last day of the month rolling over to the next month. For instance, 20050130 + 1 month = 20050302.
addGregorianYearsClip :: Integer > Day > Day Source
Add years, matching month and day, with Feb 29th clipped to Feb 28th if necessary. For instance, 20040229 + 2 years = 20060228.
addGregorianYearsRollOver :: Integer > Day > Day Source
Add years, matching month and day, with Feb 29th rolled over to Mar 1st if necessary. For instance, 20040229 + 2 years = 20060301.
addGregorianDurationClip :: CalendarDiffDays > Day > Day Source
Add months (clipped to last day), then add days
addGregorianDurationRollOver :: CalendarDiffDays > Day > Day Source
Add months (rolling over to next month), then add days
diffGregorianDurationClip :: Day > Day > CalendarDiffDays Source
Calendrical difference, with as many whole months as possible
diffGregorianDurationRollOver :: Day > Day > CalendarDiffDays Source
Calendrical difference, with as many whole months as possible. Same as diffGregorianDurationClip
for positive durations.
isLeapYear :: Integer > Bool Source
Is this year a leap year according to the proleptic Gregorian calendar?
Enum DayOfWeek  "Circular", so for example 
Defined in Data.Time.Calendar.Week Methodssucc :: DayOfWeek > DayOfWeek Source pred :: DayOfWeek > DayOfWeek Source toEnum :: Int > DayOfWeek Source fromEnum :: DayOfWeek > Int Source enumFrom :: DayOfWeek > [DayOfWeek] Source enumFromThen :: DayOfWeek > DayOfWeek > [DayOfWeek] Source enumFromTo :: DayOfWeek > DayOfWeek > [DayOfWeek] Source enumFromThenTo :: DayOfWeek > DayOfWeek > DayOfWeek > [DayOfWeek] Source  
Eq DayOfWeek  
Read DayOfWeek  
Show DayOfWeek  
FormatTime DayOfWeek  
Defined in Data.Time.Format.Format.Instances 
© The University of Glasgow and others
Licensed under a BSDstyle license (see top of the page).
https://downloads.haskell.org/~ghc/8.8.3/docs/html/libraries/time1.9.3/DataTimeCalendar.html