Documentation
Trivial Penultimate Functions
Main.PenultimateDays.penultimatedayofweek — Methodpenultimatedayofweek(dt::TimeType) -> TimeTypeAdjusts dt to the penultimate (second-to-last) day of its week.
Main.PenultimateDays.penultimatedayofmonth — Methodpenultimatedayofmonth(dt::TimeType) -> TimeTypeAdjusts dt to the penultimate (second-to-last) day of its month.
Main.PenultimateDays.penultimatedayofquarter — Methodpenultimatedayofquarter(dt::TimeType) -> TimeTypeAdjusts dt to the penultimate (second-to-last) day of its quarter.
Main.PenultimateDays.penultimatedayofyear — Methodpenultimatedayofyear(dt::TimeType) -> TimeTypeAdjusts dt to the penultimate (second-to-last) day of its year.
Day-specific Penultimate Functions
Main.PenultimateDays.penultimatedayofmonth — Methodpenultimatedayofmonth(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the penultimate (second-to-last) day of its month, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the penultimatedayofmonth(dt, 6) will find the penultimate Saturday of the month. Dates also exports integer aliases Monday–Sunday, so you can write penultimatedayofmonth(dt, Saturday).
See also: Dates.dayofweek, lastdayofmonth
Main.PenultimateDays.penultimatedayofquarter — Methodpenultimatedayofquarter(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the penultimate (second-to-last) day of its quarter, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the penultimatedayofquarter(dt, 6) will find the penultimate Saturday of the quarter. Dates also exports integer aliases Monday–Sunday, so you can write penultimatedayofquarter(dt, Saturday).
See also: Dates.dayofweek, lastdayofquarter
Main.PenultimateDays.penultimatedayofyear — Methodpenultimatedayofyear(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the penultimate (second-to-last) day of its year, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the penultimatedayofyear(dt, 6) will find the penultimate Saturday of the year. Dates also exports integer aliases Monday–Sunday, so you can write penultimatedayofyear(dt, Saturday).
See also: Dates.dayofweek, lastdayofyear
Dates (Standard Library) Extended
Dates.firstdayofweek — Functionfirstdayofweek(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the first d-day of its week, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the firstdayofweek(dt, 6) will find the first Saturday of the week. Dates also exports integer aliases Monday–Sunday, so you can write firstdayofweek(dt, Saturday).
See also: Dates.dayofweek
Dates.lastdayofweek — Functionlastdayofweek(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the last d-day of its week, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the lastdayofweek(dt, 6) will find the last Saturday of the week. Dates also exports integer aliases Monday–Sunday, so you can write lastdayofweek(dt, Saturday).
See also: Dates.dayofweek
Dates.firstdayofmonth — Functionfirstdayofmonth(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the first d-day of its month, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the firstdayofmonth(dt, 6) will find the first Saturday of the month. Dates also exports integer aliases Monday–Sunday, so you can write firstdayofmonth(dt, Saturday).
See also: Dates.dayofweek
Dates.lastdayofmonth — Functionlastdayofmonth(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the last d-day of its month, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the lastdayofmonth(dt, 6) will find the last Saturday of the month. Dates also exports integer aliases Monday–Sunday, so you can write lastdayofmonth(dt, Saturday).
See also: Dates.dayofweek
Dates.firstdayofquarter — Functionfirstdayofquarter(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the first d-day of its quarter, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the firstdayofquarter(dt, 6) will find the first Saturday of the quarter. Dates also exports integer aliases Monday–Sunday, so you can write firstdayofquarter(dt, Saturday).
See also: Dates.dayofweek
Dates.lastdayofquarter — Functionlastdayofquarter(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the last d-day of its quarter, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the lastdayofquarter(dt, 6) will find the last Saturday of the quarter. Dates also exports integer aliases Monday–Sunday, so you can write lastdayofquarter(dt, Saturday).
See also: Dates.dayofweek
Dates.firstdayofyear — Functionfirstdayofyear(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the first d-day of its year, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the firstdayofyear(dt, 6) will find the first Saturday of the year. Dates also exports integer aliases Monday–Sunday, so you can write firstdayofyear(dt, Saturday).
See also: Dates.dayofweek
Dates.lastdayofyear — Functionlastdayofyear(dt::TimeType, d::Int) -> TimeTypeAdjusts dt to the last d-day of its year, given some d, the day of the week as an Int, with 1 = Monday, 2 = Tuesday, &c...
For example, the lastdayofyear(dt, 6) will find the last Saturday of the year. Dates also exports integer aliases Monday–Sunday, so you can write lastdayofyear(dt, Saturday).
See also: Dates.dayofweek
Index
Dates.firstdayofmonthDates.firstdayofquarterDates.firstdayofweekDates.firstdayofyearDates.lastdayofmonthDates.lastdayofquarterDates.lastdayofweekDates.lastdayofyearMain.PenultimateDays.penultimatedayofmonthMain.PenultimateDays.penultimatedayofmonthMain.PenultimateDays.penultimatedayofquarterMain.PenultimateDays.penultimatedayofquarterMain.PenultimateDays.penultimatedayofweekMain.PenultimateDays.penultimatedayofyearMain.PenultimateDays.penultimatedayofyear