timex v3.2.0 Timex.Calendar.Julian View Source
This module contains functions for working with dates in the Julian calendar.
Link to this section Summary
Functions
Returns the day of the week, starting with 0 for Sunday, or 1 for Monday
Same as day_of_week/1, except takes year/month/day as distinct arguments
Same as julian_date/1, except takes an Erlang datetime, and returns a more precise Julian date number
Same as julian_date/1, except takes year/month/day as distinct arguments
Same as julian_date/1, except takes year/month/day/hour/minute/second as distinct arguments
Link to this section Functions
day_of_week(Timex.Types.date(), :sun | :mon) :: Timex.Types.weekday()
Returns the day of the week, starting with 0 for Sunday, or 1 for Monday
day_of_week( Timex.Types.year(), Timex.Types.month(), Timex.Types.day(), :sun | :mon ) :: Timex.Types.weekday()
Same as day_of_week/1, except takes year/month/day as distinct arguments
julian_date(Timex.Types.date()) :: float()
julian_date(Timex.Types.datetime()) :: float()
Same as julian_date/1, except takes an Erlang datetime, and returns a more precise Julian date number
julian_date(Timex.Types.year(), Timex.Types.month(), Timex.Types.day()) :: float()
Same as julian_date/1, except takes year/month/day as distinct arguments
julian_date( Timex.Types.year(), Timex.Types.month(), Timex.Types.day(), Timex.Types.hour(), Timex.Types.minute(), Timex.Types.second() ) :: float()
Same as julian_date/1, except takes year/month/day/hour/minute/second as distinct arguments