← all modules

Std.Time

Std.Time
  Std.Time — IANA-zone helpers complementing kernel `Time` (Layer 3 Sky source).

Values
  addDays : Int -> Int -> Int
  addHours : Int -> Int -> Int
  addMinutes : Int -> Int -> Int
  addMonths : Int -> Int -> Int
  addSeconds : Int -> Int -> Int
  addYears : Int -> Int -> Int
  day : String -> Int -> Result Error Int
  dayOfWeek : String -> Int -> Result Error Int
  dayOfWeekUtc : Int -> Int
  dayOfYear : String -> Int -> Result Error Int
  dayOfYearUtc : Int -> Int
  dayUtc : Int -> Int
  daysInMonth : Int -> Int -> Int
  diffDays : Int -> Int -> Int
  diffHours : Int -> Int -> Int
  diffMinutes : Int -> Int -> Int
  diffSeconds : Int -> Int -> Int
  endOfDay : String -> Int -> Result Error Int
  endOfDayUtc : Int -> Int
  endOfMonth : String -> Int -> Result Error Int
  endOfMonthUtc : Int -> Int
  endOfYear : String -> Int -> Result Error Int
  endOfYearUtc : Int -> Int
  formatInZone : String -> String -> Int -> Result Error String
  fromParts : String -> Int -> Int -> Int -> Int -> Int -> Int -> Result Error Int
  inZone : String -> Int -> Result Error String
  isLeapYear : Int -> Bool
  isWeekend : String -> Int -> Result Error Bool
  isWeekendUtc : Int -> Bool
  month : String -> Int -> Result Error Int
  monthUtc : Int -> Int
  startOfDay : String -> Int -> Result Error Int
  startOfDayUtc : Int -> Int
  startOfMonth : String -> Int -> Result Error Int
  startOfMonthUtc : Int -> Int
  startOfWeek : String -> Int -> Result Error Int
  startOfWeekUtc : Int -> Int
  startOfYear : String -> Int -> Result Error Int
  startOfYearUtc : Int -> Int
  utc : String
  weekOfYear : String -> Int -> Result Error Int
  weekOfYearUtc : Int -> Int
  year : String -> Int -> Result Error Int
  yearUtc : Int -> Int
  zoneName : String -> Int -> Result Error String
  zoneOffset : String -> Int -> Result Error Int