quickcheck-instances-0.3.20: Common quickcheck instances
Test.QuickCheck.Instances.Time
Contents
Methods
function :: (UTCTime -> b) -> UTCTime :-> b #
function :: (DiffTime -> b) -> DiffTime :-> b #
function :: (Day -> b) -> Day :-> b #
arbitrary :: Gen ZonedTime #
shrink :: ZonedTime -> [ZonedTime] #
arbitrary :: Gen LocalTime #
shrink :: LocalTime -> [LocalTime] #
arbitrary :: Gen TimeOfDay #
shrink :: TimeOfDay -> [TimeOfDay] #
arbitrary :: Gen TimeZone #
shrink :: TimeZone -> [TimeZone] #
arbitrary :: Gen UniversalTime #
shrink :: UniversalTime -> [UniversalTime] #
arbitrary :: Gen UTCTime #
shrink :: UTCTime -> [UTCTime] #
arbitrary :: Gen NominalDiffTime #
shrink :: NominalDiffTime -> [NominalDiffTime] #
arbitrary :: Gen AbsoluteTime #
shrink :: AbsoluteTime -> [AbsoluteTime] #
arbitrary :: Gen DiffTime #
shrink :: DiffTime -> [DiffTime] #
arbitrary :: Gen Day #
shrink :: Day -> [Day] #
coarbitrary :: ZonedTime -> Gen b -> Gen b #
coarbitrary :: LocalTime -> Gen b -> Gen b #
coarbitrary :: TimeOfDay -> Gen b -> Gen b #
coarbitrary :: TimeZone -> Gen b -> Gen b #
coarbitrary :: UniversalTime -> Gen b -> Gen b #
coarbitrary :: UTCTime -> Gen b -> Gen b #
coarbitrary :: NominalDiffTime -> Gen b -> Gen b #
coarbitrary :: AbsoluteTime -> Gen b -> Gen b #
coarbitrary :: DiffTime -> Gen b -> Gen b #
coarbitrary :: Day -> Gen b -> Gen b #