chronos-0.1.0: Initial project template from stack

Safe HaskellNone
LanguageHaskell2010

Chronos.Types

Synopsis

Documentation

newtype Day Source

Constructors

Day 

Fields

getDay :: Int32
 

newtype Days Source

A duration of days

Constructors

Days 

Fields

getDays :: Int32
 

newtype DayOfWeek Source

Constructors

DayOfWeek 

Fields

getDayOfWeek :: Word8
 

newtype Year Source

Constructors

Year 

Fields

getYear :: Int32
 

newtype TaiTime Source

TAI time with nanosecond resolution.

Constructors

TaiTime 

Fields

getTaiTime :: Int64
 

newtype DayOfWeekMatch a Source

Constructors

DayOfWeekMatch 

newtype MonthMatch a Source

Constructors

MonthMatch 

Fields

getMonthMatch :: Vector a
 

data Date Source

A date as represented by the Gregorian calendar.

Constructors

Date 

data Datetime Source

A date as represented by the Gregorian calendar and a time of day.

Constructors

Datetime 

data TimeOfDay Source

A time of day, including the possibility of leap seconds.

data DatetimeFormat a Source

Constructors

DatetimeFormat 

Fields

datetimeFormatDateSeparator :: !(Maybe a)

Separator in the date

datetimeFormatSeparator :: !(Maybe a)

Separator between date and time

datetimeFormatTimeSeparator :: !(Maybe a)

Separator in the time

data DatetimeLocale a Source

Constructors

DatetimeLocale 

Fields

datetimeLocaleDaysOfWeekFull :: !(DayOfWeekMatch a)

full weekdays starting with Sunday, 7 elements

datetimeLocaleDaysOfWeekAbbreviated :: !(DayOfWeekMatch a)

abbreviated weekdays starting with Sunday, 7 elements

datetimeLocaleMonthsFull :: !(MonthMatch a)

full months starting with January, 12 elements

datetimeLocaleMonthsAbbreviated :: !(MonthMatch a)

abbreviated months starting with January, 12 elements

datetimeLocaleAm :: !a

Symbol for AM

datetimeLocalePm :: !a

Symbol for PM