Skip to content

Add as_number to greg_year#232

Open
ecatmur wants to merge 1 commit intoboostorg:developfrom
ecatmur:patch-1
Open

Add as_number to greg_year#232
ecatmur wants to merge 1 commit intoboostorg:developfrom
ecatmur:patch-1

Conversation

@ecatmur
Copy link

@ecatmur ecatmur commented Jul 25, 2023

for consistency with greg_day, greg_month.

This is useful e.g. for std::format("{:02}/{:02}/{:04}", month.as_number(), day.as_number(), year.as_number()).

for consistency with `greg_day`, `greg_month`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant