Namespaces
Variants

std::chrono::year:: min

From cppreference.net
static constexpr std:: chrono :: year min ( ) noexcept ;
(desde C++20)

Devuelve el menor year posible, es decir, std:: chrono :: year ( - 32767 ) .

Valor de retorno

std:: chrono :: year ( - 32767 )

Ejemplo

#include <chrono>
#include <iostream>
int main()
{
    std::cout << "The minimum year is: " << (int)std::chrono::year::min() << '\n';
}

Salida:

The minimum year is: -32767