etl/docs/chrono/last_spec.md
John Wellbelove 09af946a8f Added more documentation for chrono classes
Updated callouts
2026-04-13 10:59:19 +02:00

519 B

title
last_spec

{{< callout type="info">}} Header: chrono.h
Since: 20.41.0
Similar to: std::chrono::last_spec {{< /callout >}}

last_spec is a tag type that is used in conjunction with other calendar types to indicate the last thing in a sequence.

struct last_spec
{
  explicit last_spec() = default;
};

inline constexpr last_spec last{};

Example

2025_y/March/last for last day of March 2025 i.e. 2025-03-31