sixfiguregroup-0.0.1: A six figure group of time

Safe HaskellNone
LanguageHaskell2010

Data.Time.Aviation.SixFigureGroup

Synopsis

Documentation

data DayOfMonth Source #

Instances

Eq DayOfMonth Source # 
Ord DayOfMonth Source # 
Show DayOfMonth Source # 
HasDayOfMonth DayOfMonth Source # 
AsDayOfMonth DayOfMonth Source # 

Methods

_DayOfMonth :: Prism' DayOfMonth DayOfMonth Source #

_DayOfMonth_01 :: Prism' DayOfMonth () Source #

_DayOfMonth_02 :: Prism' DayOfMonth () Source #

_DayOfMonth_03 :: Prism' DayOfMonth () Source #

_DayOfMonth_04 :: Prism' DayOfMonth () Source #

_DayOfMonth_05 :: Prism' DayOfMonth () Source #

_DayOfMonth_06 :: Prism' DayOfMonth () Source #

_DayOfMonth_07 :: Prism' DayOfMonth () Source #

_DayOfMonth_08 :: Prism' DayOfMonth () Source #

_DayOfMonth_09 :: Prism' DayOfMonth () Source #

_DayOfMonth_10 :: Prism' DayOfMonth () Source #

_DayOfMonth_11 :: Prism' DayOfMonth () Source #

_DayOfMonth_12 :: Prism' DayOfMonth () Source #

_DayOfMonth_13 :: Prism' DayOfMonth () Source #

_DayOfMonth_14 :: Prism' DayOfMonth () Source #

_DayOfMonth_15 :: Prism' DayOfMonth () Source #

_DayOfMonth_16 :: Prism' DayOfMonth () Source #

_DayOfMonth_17 :: Prism' DayOfMonth () Source #

_DayOfMonth_18 :: Prism' DayOfMonth () Source #

_DayOfMonth_19 :: Prism' DayOfMonth () Source #

_DayOfMonth_20 :: Prism' DayOfMonth () Source #

_DayOfMonth_21 :: Prism' DayOfMonth () Source #

_DayOfMonth_22 :: Prism' DayOfMonth () Source #

_DayOfMonth_23 :: Prism' DayOfMonth () Source #

_DayOfMonth_24 :: Prism' DayOfMonth () Source #

_DayOfMonth_25 :: Prism' DayOfMonth () Source #

_DayOfMonth_26 :: Prism' DayOfMonth () Source #

_DayOfMonth_27 :: Prism' DayOfMonth () Source #

_DayOfMonth_28 :: Prism' DayOfMonth () Source #

_DayOfMonth_29 :: Prism' DayOfMonth () Source #

_DayOfMonth_30 :: Prism' DayOfMonth () Source #

_DayOfMonth_31 :: Prism' DayOfMonth () Source #

class AsDayOfMonth r where Source #

Instances

AsDayOfMonth Double Source # 
AsDayOfMonth Float Source # 
AsDayOfMonth Int Source # 
AsDayOfMonth Integer Source # 
AsDayOfMonth DayOfMonth Source # 

Methods

_DayOfMonth :: Prism' DayOfMonth DayOfMonth Source #

_DayOfMonth_01 :: Prism' DayOfMonth () Source #

_DayOfMonth_02 :: Prism' DayOfMonth () Source #

_DayOfMonth_03 :: Prism' DayOfMonth () Source #

_DayOfMonth_04 :: Prism' DayOfMonth () Source #

_DayOfMonth_05 :: Prism' DayOfMonth () Source #

_DayOfMonth_06 :: Prism' DayOfMonth () Source #

_DayOfMonth_07 :: Prism' DayOfMonth () Source #

_DayOfMonth_08 :: Prism' DayOfMonth () Source #

_DayOfMonth_09 :: Prism' DayOfMonth () Source #

_DayOfMonth_10 :: Prism' DayOfMonth () Source #

_DayOfMonth_11 :: Prism' DayOfMonth () Source #

_DayOfMonth_12 :: Prism' DayOfMonth () Source #

_DayOfMonth_13 :: Prism' DayOfMonth () Source #

_DayOfMonth_14 :: Prism' DayOfMonth () Source #

_DayOfMonth_15 :: Prism' DayOfMonth () Source #

_DayOfMonth_16 :: Prism' DayOfMonth () Source #

_DayOfMonth_17 :: Prism' DayOfMonth () Source #

_DayOfMonth_18 :: Prism' DayOfMonth () Source #

_DayOfMonth_19 :: Prism' DayOfMonth () Source #

_DayOfMonth_20 :: Prism' DayOfMonth () Source #

_DayOfMonth_21 :: Prism' DayOfMonth () Source #

_DayOfMonth_22 :: Prism' DayOfMonth () Source #

_DayOfMonth_23 :: Prism' DayOfMonth () Source #

_DayOfMonth_24 :: Prism' DayOfMonth () Source #

_DayOfMonth_25 :: Prism' DayOfMonth () Source #

_DayOfMonth_26 :: Prism' DayOfMonth () Source #

_DayOfMonth_27 :: Prism' DayOfMonth () Source #

_DayOfMonth_28 :: Prism' DayOfMonth () Source #

_DayOfMonth_29 :: Prism' DayOfMonth () Source #

_DayOfMonth_30 :: Prism' DayOfMonth () Source #

_DayOfMonth_31 :: Prism' DayOfMonth () Source #

parseDayOfMonth :: CharParsing f => f DayOfMonth Source #

Parse two digits to a day of month (01-31).

>>> parse parseDayOfMonth "test" "01"
Right DayOfMonth_01
>>> parse parseDayOfMonth "test" "02"
Right DayOfMonth_02
>>> parse parseDayOfMonth "test" "18"
Right DayOfMonth_18
>>> parse parseDayOfMonth "test" "30"
Right DayOfMonth_30
>>> parse parseDayOfMonth "test" "31"
Right DayOfMonth_31
>>> isn't _Right (parse parseDayOfMonth "test" "00")
True
>>> isn't _Right (parse parseDayOfMonth "test" "32")
True
>>> isn't _Right (parse parseDayOfMonth "test" "9")
True
>>> parse (show <$> parseDayOfMonth <|> string "00") "test" "00"
Right "00"

data HourOfDay Source #

Instances

Eq HourOfDay Source # 
Ord HourOfDay Source # 
Show HourOfDay Source # 
HasHourOfDay HourOfDay Source # 
AsHourOfDay HourOfDay Source # 

class AsHourOfDay r where Source #

Instances

AsHourOfDay Double Source # 
AsHourOfDay Float Source # 
AsHourOfDay Int Source # 
AsHourOfDay Integer Source # 
AsHourOfDay HourOfDay Source # 

parseHourOfDay :: CharParsing f => f HourOfDay Source #

Parse two digits to an hour of day (00-23).

>>> parse parseHourOfDay "test" "00"
Right HourOfDay_00
>>> parse parseHourOfDay "test" "01"
Right HourOfDay_01
>>> parse parseHourOfDay "test" "18"
Right HourOfDay_18
>>> parse parseHourOfDay "test" "22"
Right HourOfDay_22
>>> parse parseHourOfDay "test" "23"
Right HourOfDay_23
>>> isn't _Right (parse parseHourOfDay "test" "24")
True
>>> isn't _Right (parse parseHourOfDay "test" "9")
True
>>> parse (show <$> parseHourOfDay <|> string "25") "test" "25"
Right "25"

data MinuteOfHour Source #

Instances

Eq MinuteOfHour Source # 
Ord MinuteOfHour Source # 
Show MinuteOfHour Source # 
HasMinuteOfHour MinuteOfHour Source # 
AsMinuteOfHour MinuteOfHour Source # 

Methods

_MinuteOfHour :: Prism' MinuteOfHour MinuteOfHour Source #

_MinuteOfHour_00 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_01 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_02 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_03 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_04 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_05 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_06 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_07 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_08 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_09 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_10 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_11 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_12 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_13 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_14 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_15 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_16 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_17 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_18 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_19 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_20 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_21 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_22 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_23 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_24 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_25 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_26 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_27 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_28 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_29 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_30 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_31 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_32 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_33 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_34 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_35 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_36 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_37 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_38 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_39 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_40 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_41 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_42 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_43 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_44 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_45 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_46 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_47 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_48 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_49 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_50 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_51 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_52 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_53 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_54 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_55 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_56 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_57 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_58 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_59 :: Prism' MinuteOfHour () Source #

class AsMinuteOfHour r where Source #

Methods

_MinuteOfHour :: Prism' r MinuteOfHour Source #

_MinuteOfHour_00 :: Prism' r () Source #

_MinuteOfHour_01 :: Prism' r () Source #

_MinuteOfHour_02 :: Prism' r () Source #

_MinuteOfHour_03 :: Prism' r () Source #

_MinuteOfHour_04 :: Prism' r () Source #

_MinuteOfHour_05 :: Prism' r () Source #

_MinuteOfHour_06 :: Prism' r () Source #

_MinuteOfHour_07 :: Prism' r () Source #

_MinuteOfHour_08 :: Prism' r () Source #

_MinuteOfHour_09 :: Prism' r () Source #

_MinuteOfHour_10 :: Prism' r () Source #

_MinuteOfHour_11 :: Prism' r () Source #

_MinuteOfHour_12 :: Prism' r () Source #

_MinuteOfHour_13 :: Prism' r () Source #

_MinuteOfHour_14 :: Prism' r () Source #

_MinuteOfHour_15 :: Prism' r () Source #

_MinuteOfHour_16 :: Prism' r () Source #

_MinuteOfHour_17 :: Prism' r () Source #

_MinuteOfHour_18 :: Prism' r () Source #

_MinuteOfHour_19 :: Prism' r () Source #

_MinuteOfHour_20 :: Prism' r () Source #

_MinuteOfHour_21 :: Prism' r () Source #

_MinuteOfHour_22 :: Prism' r () Source #

_MinuteOfHour_23 :: Prism' r () Source #

_MinuteOfHour_24 :: Prism' r () Source #

_MinuteOfHour_25 :: Prism' r () Source #

_MinuteOfHour_26 :: Prism' r () Source #

_MinuteOfHour_27 :: Prism' r () Source #

_MinuteOfHour_28 :: Prism' r () Source #

_MinuteOfHour_29 :: Prism' r () Source #

_MinuteOfHour_30 :: Prism' r () Source #

_MinuteOfHour_31 :: Prism' r () Source #

_MinuteOfHour_32 :: Prism' r () Source #

_MinuteOfHour_33 :: Prism' r () Source #

_MinuteOfHour_34 :: Prism' r () Source #

_MinuteOfHour_35 :: Prism' r () Source #

_MinuteOfHour_36 :: Prism' r () Source #

_MinuteOfHour_37 :: Prism' r () Source #

_MinuteOfHour_38 :: Prism' r () Source #

_MinuteOfHour_39 :: Prism' r () Source #

_MinuteOfHour_40 :: Prism' r () Source #

_MinuteOfHour_41 :: Prism' r () Source #

_MinuteOfHour_42 :: Prism' r () Source #

_MinuteOfHour_43 :: Prism' r () Source #

_MinuteOfHour_44 :: Prism' r () Source #

_MinuteOfHour_45 :: Prism' r () Source #

_MinuteOfHour_46 :: Prism' r () Source #

_MinuteOfHour_47 :: Prism' r () Source #

_MinuteOfHour_48 :: Prism' r () Source #

_MinuteOfHour_49 :: Prism' r () Source #

_MinuteOfHour_50 :: Prism' r () Source #

_MinuteOfHour_51 :: Prism' r () Source #

_MinuteOfHour_52 :: Prism' r () Source #

_MinuteOfHour_53 :: Prism' r () Source #

_MinuteOfHour_54 :: Prism' r () Source #

_MinuteOfHour_55 :: Prism' r () Source #

_MinuteOfHour_56 :: Prism' r () Source #

_MinuteOfHour_57 :: Prism' r () Source #

_MinuteOfHour_58 :: Prism' r () Source #

_MinuteOfHour_59 :: Prism' r () Source #

Instances

AsMinuteOfHour Double Source # 

Methods

_MinuteOfHour :: Prism' Double MinuteOfHour Source #

_MinuteOfHour_00 :: Prism' Double () Source #

_MinuteOfHour_01 :: Prism' Double () Source #

_MinuteOfHour_02 :: Prism' Double () Source #

_MinuteOfHour_03 :: Prism' Double () Source #

_MinuteOfHour_04 :: Prism' Double () Source #

_MinuteOfHour_05 :: Prism' Double () Source #

_MinuteOfHour_06 :: Prism' Double () Source #

_MinuteOfHour_07 :: Prism' Double () Source #

_MinuteOfHour_08 :: Prism' Double () Source #

_MinuteOfHour_09 :: Prism' Double () Source #

_MinuteOfHour_10 :: Prism' Double () Source #

_MinuteOfHour_11 :: Prism' Double () Source #

_MinuteOfHour_12 :: Prism' Double () Source #

_MinuteOfHour_13 :: Prism' Double () Source #

_MinuteOfHour_14 :: Prism' Double () Source #

_MinuteOfHour_15 :: Prism' Double () Source #

_MinuteOfHour_16 :: Prism' Double () Source #

_MinuteOfHour_17 :: Prism' Double () Source #

_MinuteOfHour_18 :: Prism' Double () Source #

_MinuteOfHour_19 :: Prism' Double () Source #

_MinuteOfHour_20 :: Prism' Double () Source #

_MinuteOfHour_21 :: Prism' Double () Source #

_MinuteOfHour_22 :: Prism' Double () Source #

_MinuteOfHour_23 :: Prism' Double () Source #

_MinuteOfHour_24 :: Prism' Double () Source #

_MinuteOfHour_25 :: Prism' Double () Source #

_MinuteOfHour_26 :: Prism' Double () Source #

_MinuteOfHour_27 :: Prism' Double () Source #

_MinuteOfHour_28 :: Prism' Double () Source #

_MinuteOfHour_29 :: Prism' Double () Source #

_MinuteOfHour_30 :: Prism' Double () Source #

_MinuteOfHour_31 :: Prism' Double () Source #

_MinuteOfHour_32 :: Prism' Double () Source #

_MinuteOfHour_33 :: Prism' Double () Source #

_MinuteOfHour_34 :: Prism' Double () Source #

_MinuteOfHour_35 :: Prism' Double () Source #

_MinuteOfHour_36 :: Prism' Double () Source #

_MinuteOfHour_37 :: Prism' Double () Source #

_MinuteOfHour_38 :: Prism' Double () Source #

_MinuteOfHour_39 :: Prism' Double () Source #

_MinuteOfHour_40 :: Prism' Double () Source #

_MinuteOfHour_41 :: Prism' Double () Source #

_MinuteOfHour_42 :: Prism' Double () Source #

_MinuteOfHour_43 :: Prism' Double () Source #

_MinuteOfHour_44 :: Prism' Double () Source #

_MinuteOfHour_45 :: Prism' Double () Source #

_MinuteOfHour_46 :: Prism' Double () Source #

_MinuteOfHour_47 :: Prism' Double () Source #

_MinuteOfHour_48 :: Prism' Double () Source #

_MinuteOfHour_49 :: Prism' Double () Source #

_MinuteOfHour_50 :: Prism' Double () Source #

_MinuteOfHour_51 :: Prism' Double () Source #

_MinuteOfHour_52 :: Prism' Double () Source #

_MinuteOfHour_53 :: Prism' Double () Source #

_MinuteOfHour_54 :: Prism' Double () Source #

_MinuteOfHour_55 :: Prism' Double () Source #

_MinuteOfHour_56 :: Prism' Double () Source #

_MinuteOfHour_57 :: Prism' Double () Source #

_MinuteOfHour_58 :: Prism' Double () Source #

_MinuteOfHour_59 :: Prism' Double () Source #

AsMinuteOfHour Float Source # 

Methods

_MinuteOfHour :: Prism' Float MinuteOfHour Source #

_MinuteOfHour_00 :: Prism' Float () Source #

_MinuteOfHour_01 :: Prism' Float () Source #

_MinuteOfHour_02 :: Prism' Float () Source #

_MinuteOfHour_03 :: Prism' Float () Source #

_MinuteOfHour_04 :: Prism' Float () Source #

_MinuteOfHour_05 :: Prism' Float () Source #

_MinuteOfHour_06 :: Prism' Float () Source #

_MinuteOfHour_07 :: Prism' Float () Source #

_MinuteOfHour_08 :: Prism' Float () Source #

_MinuteOfHour_09 :: Prism' Float () Source #

_MinuteOfHour_10 :: Prism' Float () Source #

_MinuteOfHour_11 :: Prism' Float () Source #

_MinuteOfHour_12 :: Prism' Float () Source #

_MinuteOfHour_13 :: Prism' Float () Source #

_MinuteOfHour_14 :: Prism' Float () Source #

_MinuteOfHour_15 :: Prism' Float () Source #

_MinuteOfHour_16 :: Prism' Float () Source #

_MinuteOfHour_17 :: Prism' Float () Source #

_MinuteOfHour_18 :: Prism' Float () Source #

_MinuteOfHour_19 :: Prism' Float () Source #

_MinuteOfHour_20 :: Prism' Float () Source #

_MinuteOfHour_21 :: Prism' Float () Source #

_MinuteOfHour_22 :: Prism' Float () Source #

_MinuteOfHour_23 :: Prism' Float () Source #

_MinuteOfHour_24 :: Prism' Float () Source #

_MinuteOfHour_25 :: Prism' Float () Source #

_MinuteOfHour_26 :: Prism' Float () Source #

_MinuteOfHour_27 :: Prism' Float () Source #

_MinuteOfHour_28 :: Prism' Float () Source #

_MinuteOfHour_29 :: Prism' Float () Source #

_MinuteOfHour_30 :: Prism' Float () Source #

_MinuteOfHour_31 :: Prism' Float () Source #

_MinuteOfHour_32 :: Prism' Float () Source #

_MinuteOfHour_33 :: Prism' Float () Source #

_MinuteOfHour_34 :: Prism' Float () Source #

_MinuteOfHour_35 :: Prism' Float () Source #

_MinuteOfHour_36 :: Prism' Float () Source #

_MinuteOfHour_37 :: Prism' Float () Source #

_MinuteOfHour_38 :: Prism' Float () Source #

_MinuteOfHour_39 :: Prism' Float () Source #

_MinuteOfHour_40 :: Prism' Float () Source #

_MinuteOfHour_41 :: Prism' Float () Source #

_MinuteOfHour_42 :: Prism' Float () Source #

_MinuteOfHour_43 :: Prism' Float () Source #

_MinuteOfHour_44 :: Prism' Float () Source #

_MinuteOfHour_45 :: Prism' Float () Source #

_MinuteOfHour_46 :: Prism' Float () Source #

_MinuteOfHour_47 :: Prism' Float () Source #

_MinuteOfHour_48 :: Prism' Float () Source #

_MinuteOfHour_49 :: Prism' Float () Source #

_MinuteOfHour_50 :: Prism' Float () Source #

_MinuteOfHour_51 :: Prism' Float () Source #

_MinuteOfHour_52 :: Prism' Float () Source #

_MinuteOfHour_53 :: Prism' Float () Source #

_MinuteOfHour_54 :: Prism' Float () Source #

_MinuteOfHour_55 :: Prism' Float () Source #

_MinuteOfHour_56 :: Prism' Float () Source #

_MinuteOfHour_57 :: Prism' Float () Source #

_MinuteOfHour_58 :: Prism' Float () Source #

_MinuteOfHour_59 :: Prism' Float () Source #

AsMinuteOfHour Int Source # 

Methods

_MinuteOfHour :: Prism' Int MinuteOfHour Source #

_MinuteOfHour_00 :: Prism' Int () Source #

_MinuteOfHour_01 :: Prism' Int () Source #

_MinuteOfHour_02 :: Prism' Int () Source #

_MinuteOfHour_03 :: Prism' Int () Source #

_MinuteOfHour_04 :: Prism' Int () Source #

_MinuteOfHour_05 :: Prism' Int () Source #

_MinuteOfHour_06 :: Prism' Int () Source #

_MinuteOfHour_07 :: Prism' Int () Source #

_MinuteOfHour_08 :: Prism' Int () Source #

_MinuteOfHour_09 :: Prism' Int () Source #

_MinuteOfHour_10 :: Prism' Int () Source #

_MinuteOfHour_11 :: Prism' Int () Source #

_MinuteOfHour_12 :: Prism' Int () Source #

_MinuteOfHour_13 :: Prism' Int () Source #

_MinuteOfHour_14 :: Prism' Int () Source #

_MinuteOfHour_15 :: Prism' Int () Source #

_MinuteOfHour_16 :: Prism' Int () Source #

_MinuteOfHour_17 :: Prism' Int () Source #

_MinuteOfHour_18 :: Prism' Int () Source #

_MinuteOfHour_19 :: Prism' Int () Source #

_MinuteOfHour_20 :: Prism' Int () Source #

_MinuteOfHour_21 :: Prism' Int () Source #

_MinuteOfHour_22 :: Prism' Int () Source #

_MinuteOfHour_23 :: Prism' Int () Source #

_MinuteOfHour_24 :: Prism' Int () Source #

_MinuteOfHour_25 :: Prism' Int () Source #

_MinuteOfHour_26 :: Prism' Int () Source #

_MinuteOfHour_27 :: Prism' Int () Source #

_MinuteOfHour_28 :: Prism' Int () Source #

_MinuteOfHour_29 :: Prism' Int () Source #

_MinuteOfHour_30 :: Prism' Int () Source #

_MinuteOfHour_31 :: Prism' Int () Source #

_MinuteOfHour_32 :: Prism' Int () Source #

_MinuteOfHour_33 :: Prism' Int () Source #

_MinuteOfHour_34 :: Prism' Int () Source #

_MinuteOfHour_35 :: Prism' Int () Source #

_MinuteOfHour_36 :: Prism' Int () Source #

_MinuteOfHour_37 :: Prism' Int () Source #

_MinuteOfHour_38 :: Prism' Int () Source #

_MinuteOfHour_39 :: Prism' Int () Source #

_MinuteOfHour_40 :: Prism' Int () Source #

_MinuteOfHour_41 :: Prism' Int () Source #

_MinuteOfHour_42 :: Prism' Int () Source #

_MinuteOfHour_43 :: Prism' Int () Source #

_MinuteOfHour_44 :: Prism' Int () Source #

_MinuteOfHour_45 :: Prism' Int () Source #

_MinuteOfHour_46 :: Prism' Int () Source #

_MinuteOfHour_47 :: Prism' Int () Source #

_MinuteOfHour_48 :: Prism' Int () Source #

_MinuteOfHour_49 :: Prism' Int () Source #

_MinuteOfHour_50 :: Prism' Int () Source #

_MinuteOfHour_51 :: Prism' Int () Source #

_MinuteOfHour_52 :: Prism' Int () Source #

_MinuteOfHour_53 :: Prism' Int () Source #

_MinuteOfHour_54 :: Prism' Int () Source #

_MinuteOfHour_55 :: Prism' Int () Source #

_MinuteOfHour_56 :: Prism' Int () Source #

_MinuteOfHour_57 :: Prism' Int () Source #

_MinuteOfHour_58 :: Prism' Int () Source #

_MinuteOfHour_59 :: Prism' Int () Source #

AsMinuteOfHour Integer Source # 

Methods

_MinuteOfHour :: Prism' Integer MinuteOfHour Source #

_MinuteOfHour_00 :: Prism' Integer () Source #

_MinuteOfHour_01 :: Prism' Integer () Source #

_MinuteOfHour_02 :: Prism' Integer () Source #

_MinuteOfHour_03 :: Prism' Integer () Source #

_MinuteOfHour_04 :: Prism' Integer () Source #

_MinuteOfHour_05 :: Prism' Integer () Source #

_MinuteOfHour_06 :: Prism' Integer () Source #

_MinuteOfHour_07 :: Prism' Integer () Source #

_MinuteOfHour_08 :: Prism' Integer () Source #

_MinuteOfHour_09 :: Prism' Integer () Source #

_MinuteOfHour_10 :: Prism' Integer () Source #

_MinuteOfHour_11 :: Prism' Integer () Source #

_MinuteOfHour_12 :: Prism' Integer () Source #

_MinuteOfHour_13 :: Prism' Integer () Source #

_MinuteOfHour_14 :: Prism' Integer () Source #

_MinuteOfHour_15 :: Prism' Integer () Source #

_MinuteOfHour_16 :: Prism' Integer () Source #

_MinuteOfHour_17 :: Prism' Integer () Source #

_MinuteOfHour_18 :: Prism' Integer () Source #

_MinuteOfHour_19 :: Prism' Integer () Source #

_MinuteOfHour_20 :: Prism' Integer () Source #

_MinuteOfHour_21 :: Prism' Integer () Source #

_MinuteOfHour_22 :: Prism' Integer () Source #

_MinuteOfHour_23 :: Prism' Integer () Source #

_MinuteOfHour_24 :: Prism' Integer () Source #

_MinuteOfHour_25 :: Prism' Integer () Source #

_MinuteOfHour_26 :: Prism' Integer () Source #

_MinuteOfHour_27 :: Prism' Integer () Source #

_MinuteOfHour_28 :: Prism' Integer () Source #

_MinuteOfHour_29 :: Prism' Integer () Source #

_MinuteOfHour_30 :: Prism' Integer () Source #

_MinuteOfHour_31 :: Prism' Integer () Source #

_MinuteOfHour_32 :: Prism' Integer () Source #

_MinuteOfHour_33 :: Prism' Integer () Source #

_MinuteOfHour_34 :: Prism' Integer () Source #

_MinuteOfHour_35 :: Prism' Integer () Source #

_MinuteOfHour_36 :: Prism' Integer () Source #

_MinuteOfHour_37 :: Prism' Integer () Source #

_MinuteOfHour_38 :: Prism' Integer () Source #

_MinuteOfHour_39 :: Prism' Integer () Source #

_MinuteOfHour_40 :: Prism' Integer () Source #

_MinuteOfHour_41 :: Prism' Integer () Source #

_MinuteOfHour_42 :: Prism' Integer () Source #

_MinuteOfHour_43 :: Prism' Integer () Source #

_MinuteOfHour_44 :: Prism' Integer () Source #

_MinuteOfHour_45 :: Prism' Integer () Source #

_MinuteOfHour_46 :: Prism' Integer () Source #

_MinuteOfHour_47 :: Prism' Integer () Source #

_MinuteOfHour_48 :: Prism' Integer () Source #

_MinuteOfHour_49 :: Prism' Integer () Source #

_MinuteOfHour_50 :: Prism' Integer () Source #

_MinuteOfHour_51 :: Prism' Integer () Source #

_MinuteOfHour_52 :: Prism' Integer () Source #

_MinuteOfHour_53 :: Prism' Integer () Source #

_MinuteOfHour_54 :: Prism' Integer () Source #

_MinuteOfHour_55 :: Prism' Integer () Source #

_MinuteOfHour_56 :: Prism' Integer () Source #

_MinuteOfHour_57 :: Prism' Integer () Source #

_MinuteOfHour_58 :: Prism' Integer () Source #

_MinuteOfHour_59 :: Prism' Integer () Source #

AsMinuteOfHour MinuteOfHour Source # 

Methods

_MinuteOfHour :: Prism' MinuteOfHour MinuteOfHour Source #

_MinuteOfHour_00 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_01 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_02 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_03 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_04 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_05 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_06 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_07 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_08 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_09 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_10 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_11 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_12 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_13 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_14 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_15 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_16 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_17 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_18 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_19 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_20 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_21 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_22 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_23 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_24 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_25 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_26 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_27 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_28 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_29 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_30 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_31 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_32 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_33 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_34 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_35 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_36 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_37 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_38 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_39 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_40 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_41 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_42 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_43 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_44 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_45 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_46 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_47 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_48 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_49 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_50 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_51 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_52 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_53 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_54 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_55 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_56 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_57 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_58 :: Prism' MinuteOfHour () Source #

_MinuteOfHour_59 :: Prism' MinuteOfHour () Source #

parseMinuteOfHour :: CharParsing f => f MinuteOfHour Source #

Parse two digits to a minute of hour (00-59).

>>> parse parseMinuteOfHour "test" "00"
Right MinuteOfHour_00
>>> parse parseMinuteOfHour "test" "01"
Right MinuteOfHour_01
>>> parse parseMinuteOfHour "test" "18"
Right MinuteOfHour_18
>>> parse parseMinuteOfHour "test" "58"
Right MinuteOfHour_58
>>> parse parseMinuteOfHour "test" "59"
Right MinuteOfHour_59
>>> isn't _Right (parse parseMinuteOfHour "test" "60")
True
>>> isn't _Right (parse parseMinuteOfHour "test" "9")
True
>>> parse (show <$> parseMinuteOfHour <|> string "61") "test" "61"
Right "61"

parseSixFigureGroup :: CharParsing f => f SixFigureGroup Source #

Parse six digits to a six figure group.

>>> parse parseSixFigureGroup "test" "302301"
Right (SixFigureGroup {_dayofmonth = DayOfMonth_30, _hourofday = HourOfDay_23, _minuteofhour = MinuteOfHour_01})
>>> parse parseSixFigureGroup "test" "090113"
Right (SixFigureGroup {_dayofmonth = DayOfMonth_09, _hourofday = HourOfDay_01, _minuteofhour = MinuteOfHour_13})
>>> isn't _Right (parse parseSixFigureGroup "test" "322301")
True
>>> isn't _Right (parse parseSixFigureGroup "test" "302401")
True
>>> isn't _Right (parse parseSixFigureGroup "test" "302360")
True
>>> isn't _Right (parse parseSixFigureGroup "test" "30230")
True
>>> parse (show <$> parseSixFigureGroup <|> string "302360") "test" "302360"
Right "302360"

parseSixFigureGroupz :: CharParsing f => f SixFigureGroup Source #

Parse six digits to a six figure group appended with Z.

>>> parse parseSixFigureGroup "test" "302301Z"
Right (SixFigureGroup {_dayofmonth = DayOfMonth_30, _hourofday = HourOfDay_23, _minuteofhour = MinuteOfHour_01})
>>> parse parseSixFigureGroup "test" "090113Z"
Right (SixFigureGroup {_dayofmonth = DayOfMonth_09, _hourofday = HourOfDay_01, _minuteofhour = MinuteOfHour_13})
>>> isn't _Right (parse parseSixFigureGroup "test" "322301Z")
True
>>> isn't _Right (parse parseSixFigureGroup "test" "302401Z")
True
>>> isn't _Right (parse parseSixFigureGroup "test" "302360Z")
True
>>> isn't _Right (parse parseSixFigureGroup "test" "30230Z")
True
>>> parse (show <$> parseSixFigureGroup <|> string "302360Z") "test" "302360Z"
Right "302360Z"