SysTutorials

Linux Manual Pages › Section 3

stdchronoweekday_indexedweekday(3)

std::chrono::weekday_indexed::weekday - std::chrono::weekday_indexed::weekday

Synopsis

constexpr std::chrono::weekday weekday() const noexcept; (since C++20) Retrieves a copy of the std::chrono::weekday object stored in *this.

Return value

A copy of the std::chrono::weekday object stored in *this.