File: Time1.hs

package info (click to toggle)
haskell98-report 20080907-8
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,148 kB
  • ctags: 105
  • sloc: haskell: 4,078; makefile: 322
file content (11 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
-- Functions on times
getClockTime         :: IO ClockTime
		     
addToClockTime       :: TimeDiff  -> ClockTime -> ClockTime
diffClockTimes       :: ClockTime -> ClockTime -> TimeDiff
		     
toCalendarTime       :: ClockTime    -> IO CalendarTime
toUTCTime            :: ClockTime    -> CalendarTime
toClockTime          :: CalendarTime -> ClockTime
calendarTimeToString :: CalendarTime -> String
formatCalendarTime   :: TimeLocale -> String -> CalendarTime -> String