- data Balance = Balance {
- balAmount :: Double
- balBalanceId :: Int
- balCreated :: Maybe UTCTime
- balMessage :: String
- data Change = Change {
- chgBalance :: Double
- chgCreated :: Maybe UTCTime
- chgDelta :: Double
- balances :: IO (Either String [Balance])
- latest :: IO (Either String Balance)
- changes :: IO (Either String [Change])
- data UTCTime
Documentation
Represents a Balance on Jonathan's Card
Balance | |
|
Represents the changes over time on Jonathan's Card
Change | |
|
data UTCTime
This is the simplest representation of UTC. It consists of the day number, and a time offset from midnight. Note that if a day has a leap second added to it, it will have 86401 seconds.