Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::chrono::day

      From cppreference.com
      <cpp‎ |chrono
       
       
      Date and time library
       
       
      Defined in header<chrono>
      class day;
      (since C++20)

      The classday represents a day in a month. Its normal range is[131], but it may hold any number in[0255].

      day is aTriviallyCopyableStandardLayoutType.

      Contents

      [edit]Member functions

      constructs aday
      (public member function)[edit]
      increments or decrements the day
      (public member function)[edit]
      adds or subtracts a number of days
      (public member function)[edit]
      retrieves the stored day value
      (public member function)[edit]
      checks if the stored day value is in the normal range
      (public member function)[edit]

      [edit]Nonmember functions

      compares twoday values
      (function)[edit]
      adds or subtracts a number of days and aday, or find the difference between twodays
      (function)[edit]
      (C++20)
      outputs aday into a stream
      (function template)[edit]
      parses aday from a stream according to the provided format
      (function template)[edit]

      [edit]Helper classes

      formatting support forday
      (class template specialization)[edit]
      hash support forstd::chrono::day
      (class template specialization)

      [edit]Literals

      Defined in inline namespacestd::literals::chrono_literals
      astd::chrono::day literal representing a day of a month
      (function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/chrono/day&oldid=157848"

      [8]ページ先頭

      ©2009-2025 Movatter.jp