PeriodicalDates.MonthlyDate
— TypeMonthlyDate
MonthlyDate
wraps a UTInstant{Month}
and interprets it according to the proleptic Gregorian calendar.
PeriodicalDates.MonthlyDate
— TypeMonthly Date(d::AbstractString, df::DateFormat) -> MonthlyDate
Parse a date from a date string d
using a DateFormat
object df
.
PeriodicalDates.MonthlyDate
— TypeMonthlyDate(y, [m]) -> MonthlyDate
Construct a MonthlyDate
type by parts. Arguments must be convertible to Int64
PeriodicalDates.MonthlyDate
— MethodMonthlyDate(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.MonthlyDate
— MethodMonthlyDate(dt::Date) -> MonthlyDate
Convert a TimeType
to a MonthlyDate
PeriodicalDates.QuarterlyDate
— TypeQuarterlyDate
QuarterlyDate wraps a UTInstant{Quarter} and interprets it according to the proleptic Gregorian calendar.
PeriodicalDates.QuarterlyDate
— TypeQuarterlyDate(d::AbstractString, df::DateFormat) -> QuarterlyDate
Parse a date from a date string d
using a DateFormat
object df
.
PeriodicalDates.QuarterlyDate
— TypeQuarterlyDate(y, [q]) -> QuarterlyDate
Construct a QuaterlyDate
type by parts. Arguments must be convertible to Int64
PeriodicalDates.QuarterlyDate
— MethodQuarterlyDate(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.QuarterlyDate
— MethodQuarterlyDate(dt::TimeType) -> QuarterlyDate
Convert a TimeType
to a QuarterlyDate
PeriodicalDates.YearlyDate
— TypeYearlyDate
YearlyDate wraps a UTInstant{Year}
PeriodicalDates.YearlyDate
— TypeYearlyDate(d::AbstractString, df::DateFormat) -> YearlyDate
Parse a date from a date string d
using a DateFormat
object df
.
PeriodicalDates.YearlyDate
— MethodYearlyDate(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.YearlyDate
— MethodYearlyDate(dt::TimeType) -> YearlyDate
Convert a TimeType
to a YearlyDate
PeriodicalDates.YearlyDate
— MethodYearlyDate(y) -> YearlyDate
Construct a YearlyDate
type. Argument must be convertible to Int64