Safe Haskell | None |
---|---|
Language | Haskell2010 |
A TimeclockEntry
is a clock-in, clock-out, or other directive in a timeclock
file (see timeclock.el or the command-line version). These can be
converted to Transactions
and queried like a ledger.
Synopsis
- timeclockEntriesToTransactions :: LocalTime -> [TimeclockEntry] -> [Transaction]
- tests_Timeclock :: Test ()
Documentation
timeclockEntriesToTransactions :: LocalTime -> [TimeclockEntry] -> [Transaction] Source #
Convert time log entries to journal transactions. When there is no clockout, add one with the provided current time. Sessions crossing midnight are split into days to give accurate per-day totals.
tests_Timeclock :: Test () Source #
Orphan instances
Read TimeclockCode Source # | |
readsPrec :: Int -> ReadS TimeclockCode # readList :: ReadS [TimeclockCode] # | |
Show TimeclockEntry Source # | |
showsPrec :: Int -> TimeclockEntry -> ShowS # show :: TimeclockEntry -> String # showList :: [TimeclockEntry] -> ShowS # | |
Show TimeclockCode Source # | |
showsPrec :: Int -> TimeclockCode -> ShowS # show :: TimeclockCode -> String # showList :: [TimeclockCode] -> ShowS # |