Data.Time.Calendar.MonthDay

Data.Time.Calendar.MonthDay

Safe Haskell Safe
Language Haskell2010

monthAndDayToDayOfYear :: Bool -> Int -> Int -> Int Source

convert month and day in the Gregorian or Julian calendars to day of year. First arg is leap year flag

monthAndDayToDayOfYearValid :: Bool -> Int -> Int -> Maybe Int Source

convert month and day in the Gregorian or Julian calendars to day of year. First arg is leap year flag

dayOfYearToMonthAndDay :: Bool -> Int -> (Int, Int) Source

convert day of year in the Gregorian or Julian calendars to month and day. First arg is leap year flag

monthLength :: Bool -> Int -> Int Source

the length of a given month in the Gregorian or Julian calendars. First arg is leap year flag

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/time-1.5.0.1/Data-Time-Calendar-MonthDay.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部