PeriodicalDates.MonthlyDateType

MonthlyDate

MonthlyDate wraps a UTInstant{Month} and interprets it according to the proleptic Gregorian calendar.

PeriodicalDates.MonthlyDateType

Monthly Date(d::AbstractString, df::DateFormat) -> MonthlyDate

Parse a date from a date string d using a DateFormat object df.

PeriodicalDates.MonthlyDateType

MonthlyDate(y, [m]) -> MonthlyDate

Construct a MonthlyDate type by parts. Arguments must be convertible to Int64

PeriodicalDates.MonthlyDateMethod

MonthlyDate(d::AbstractString, format::AbstractString; locale="english") -> MonthlyDate

Construct a Date by parsing the date string following the pattern given in the format string.

This method creates a DateFormat object each time it is called. If you are parsing many date strings of the same format, consider creating a DateFormat object once and using that as the second argument instead.

Examples

julia> MonthlyDate("1990-01", "yyy-mm")

```

PeriodicalDates.QuarterlyDateType

QuarterlyDate

QuarterlyDate wraps a UTInstant{Quarter} and interprets it according to the proleptic Gregorian calendar.

PeriodicalDates.QuarterlyDateType

QuarterlyDate(d::AbstractString, df::DateFormat) -> QuarterlyDate

Parse a date from a date string d using a DateFormat object df.

PeriodicalDates.QuarterlyDateType

QuarterlyDate(y, [q]) -> QuarterlyDate

Construct a QuaterlyDate type by parts. Arguments must be convertible to Int64

PeriodicalDates.QuarterlyDateMethod

QuarterlyDate(d::AbstractString, format::AbstractString; locale="english") -> QuarterlyDate

Construct a Date by parsing the date string following the pattern given in the format string.

This method creates a DateFormat object each time it is called. If you are parsing many date strings of the same format, consider creating a DateFormat object once and using that as the second argument instead.

Examples

julia> QuarterlyDate("1990-01", "yyy-mm")
julia> QuarterlyDate("1990-Q1", "yyy-Qq")
PeriodicalDates.YearlyDateType

YearlyDate(d::AbstractString, df::DateFormat) -> YearlyDate

Parse a date from a date string d using a DateFormat object df.

PeriodicalDates.YearlyDateMethod

YearlyDate(d::AbstractString, format::AbstractString; locale="english") -> YearlyDate

Construct a Date by parsing the date string following the pattern given in the format string.

This method creates a DateFormat object each time it is called. If you are parsing many date strings of the same format, consider creating a DateFormat object once and using that as the second argument instead.

Examples

julia> YearlyDate("1990-01", "yyy-mm")
julia> YearlyDate("1990-Q1", "yyy-Qq")
PeriodicalDates.YearlyDateMethod

YearlyDate(y) -> YearlyDate

Construct a YearlyDate type. Argument must be convertible to Int64