std::chrono::duration_values::max

From cppreference.com
< cpplrm; | chronolrm; | duration values
Date and time utilities
(C++11)
(C++11)
Clocks
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Calendars
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
Time zones
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
C-style date and time
static constexpr Rep max();

Returns the largest possible representation.

Parameters

(none)

Return value

returns std::numeric_limits<Rep>::max()

See also

[static]
returns the special duration value max
(public static member function of std::chrono::duration)
[static]
returns a zero-length representation
(public static member function)
[static]
returns the smallest possible representation
(public static member function)