Module

DateFns.Types

Package
purescript-date-fns
Repository
tancc/purescript-date-fns

#Locale Source

data Locale :: Type

#Year Source

type Year = Int

#Month Source

type Month = Int

#Day Source

type Day = Int

#Timestamp Source

type Timestamp = Int

#ISO8016 Source

#Date Source

type Date = String

#DateF Source

data DateF

Constructors

Instances

#DATEFNS Source

data DATEFNS :: Effect

#DateFnsEff Source

type DateFnsEff e = (datefns :: DATEFNS, exception :: EXCEPTION | e)

#Options Source

type Options = (addSuffix :: Boolean, additionalDigits :: Int, includeSeconds :: Boolean, locale :: Locale, roundingMethod :: String, unit :: String, weekStartsOn :: Int)

#DistanceInWordsOpts Source

type DistanceInWordsOpts = (addSuffix :: Boolean, includeSeconds :: Boolean, locale :: Locale)

#DistanceInWordsStrictOpts Source

type DistanceInWordsStrictOpts = (addSuffix :: Boolean, locale :: Locale, partialMethod :: String, unit :: String)

#EndOfWeekOpts Source

type EndOfWeekOpts = (weekStartsOn :: Int)

#FormatOpts Source

type FormatOpts = (locale :: Locale)

#IsSameWeekOpts Source

type IsSameWeekOpts = (weekStartsOn :: Int)

#IsThisWeekOpts Source

type IsThisWeekOpts = (weekStartsOn :: Int)

#LastDayOfWeekOpts Source

type LastDayOfWeekOpts = (weekStartsOn :: Int)

#ParseOpts Source

type ParseOpts = (additionalDigits :: Int)

#SetDayOpts Source

type SetDayOpts = (weekStartsOn :: Int)

#StartOfWeekOpts Source

type StartOfWeekOpts = (weekStartsOn :: Int)