time-compat-1.9.6.1: Compatibility package for time
Safe Haskell Trustworthy
Language Haskell2010

Data.Time.Calendar.Month.Compat

Synopsis

Documentation

newtype Month Source #

An absolute count of common calendar months. Number is equal to (year * 12) + (monthOfYear - 1) .

Constructors

MkMonth Integer

Instances

Instances details
Enum Month Source #
Instance details

Defined in Data.Time.Calendar.Month.Compat

Eq Month Source #
Instance details

Defined in Data.Time.Calendar.Month.Compat

Data Month Source #
Instance details

Defined in Data.Time.Calendar.Month.Compat

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> Month -> c Month Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c Month Source #

toConstr :: Month -> Constr Source #

dataTypeOf :: Month -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c Month ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c Month ) Source #

gmapT :: ( forall b. Data b => b -> b) -> Month -> Month Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> Month -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> Month -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> Month -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> Month -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> Month -> m Month Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> Month -> m Month Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> Month -> m Month Source #

Ord Month Source #
Instance details

Defined in Data.Time.Calendar.Month.Compat

Read Month Source #

Read as yyyy-mm .

Instance details

Defined in Data.Time.Calendar.Month.Compat

Show Month Source #

Show as yyyy-mm .

Instance details

Defined in Data.Time.Calendar.Month.Compat

Ix Month Source #
Instance details

Defined in Data.Time.Calendar.Month.Compat

NFData Month Source #
Instance details

Defined in Data.Time.Calendar.Month.Compat

Hashable Month Source #
Instance details

Defined in Data.Time.Calendar.Month.Compat

FormatTime Month Source #
Instance details

Defined in Data.Time.Calendar.Month.Compat

pattern YearMonth :: Year -> MonthOfYear -> Month Source #

Bidirectional abstract constructor. Invalid months of year will be clipped to the correct range.

pattern MonthDay :: Month -> DayOfMonth -> Day Source #

Bidirectional abstract constructor. Invalid days of month will be clipped to the correct range.

time-compat extras