SysTutorials

Linux Manual Pages › Section 3

stdchronoyearmax(3)

std::chrono::year::max - std::chrono::year::max

Synopsis

static constexpr year max() noexcept;  (since C++20)

Returns the largest possible year, that is, std::chrono::year(32767).

Return value

std::chrono::year(32767)