Safe Haskell | None |
---|
- now :: ReQL
- time :: ReQL -> ReQL -> ReQL -> ReQL -> ReQL -> ReQL -> ReQL -> ReQL
- epochTime :: ReQL -> ReQL
- iso8601 :: ReQL -> ReQL
- inTimezone :: Expr time => ReQL -> time -> ReQL
- data Bound a
- = Open {
- boundValue :: a
- | Closed {
- boundValue :: a
- = Open {
- boundString :: Bound a -> Text
- during :: (Expr left, Expr right, Expr time) => Bound left -> Bound right -> time -> ReQL
- timezone :: Expr time => time -> ReQL
- seconds :: Expr time => time -> ReQL
- minutes :: Expr time => time -> ReQL
- hours :: Expr time => time -> ReQL
- dayOfYear :: Expr time => time -> ReQL
- dayOfWeek :: Expr time => time -> ReQL
- day :: Expr time => time -> ReQL
- month :: Expr time => time -> ReQL
- year :: Expr time => time -> ReQL
- timeOfDay :: Expr time => time -> ReQL
- date :: Expr time => time -> ReQL
- toIso8601 :: Expr t => t -> ReQL
- toEpochTime :: Expr t => t -> ReQL
- newtype UTCTime = UTCTime UTCTime
- newtype ZonedTime = ZonedTime ZonedTime
- parseTimeZone :: String -> Parser TimeZone
Documentation
time :: ReQL -> ReQL -> ReQL -> ReQL -> ReQL -> ReQL -> ReQL -> ReQLSource
Build a time object from the year, month, day, hour, minute, second and timezone fields
inTimezone :: Expr time => ReQL -> time -> ReQLSource
The same time in a different timezone
Open | |
| |
Closed | |
|
boundString :: Bound a -> TextSource
during :: (Expr left, Expr right, Expr time) => Bound left -> Bound right -> time -> ReQLSource
Test if a time is between two other times
toEpochTime :: Expr t => t -> ReQLSource
Convert a time to another representation
Time with no time zone The default FromJSON instance for Data.Time.UTCTime is incompatible with ReQL's time type
Time with a time zone The default FromJSON instance for Data.Time.ZonedTime is incompatible with ReQL's time type