unittyped-0.1: An extendable library for type-safe computations including units.

Safe HaskellNone

UnitTyped.SI.Derived.Time

Description

Units derived from the SI unit for time: second.

Synopsis

Documentation

data Hour Source

Hour (h).

data Minute Source

Minute (min.).

data Day Source

Day (day).

data Year Source

Year (yr). This is an average year in the Gregorian calender (so 365.2425 days).

data Month Source

Month (month). Average length of a month (365.2425 / 12).

data JulianYear Source

Julian year (a). This is an average year in the Julian calender (so 365.25 days). Still used in astronomy.

data Hertz Source

Frequency in Hertz. (Hz)

minute :: Fractional f => Value f TimeDimension MinuteSource

One minute (min.).

hour :: Fractional f => Value f TimeDimension HourSource

One hour (h).

day :: Fractional f => Value f TimeDimension DaySource

One day (day).

year :: Fractional f => Value f TimeDimension YearSource

One year (yr).

month :: Fractional f => Value f TimeDimension MonthSource

One month (month).