Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::chrono::local_t

      From cppreference.com
      <cpp‎ |chrono
       
       
      Date and time library
      Time point
      (C++11)
      (C++20)
      Duration
      (C++11)
      Clocks
      (C++20)
      (C++20)
      (C++20)
      (C++20)
      (C++20)
      local_t
      (C++20)
      Time of day
      (C++20)(C++20)
      (C++20)(C++20)
      (C++20)
       
       
      Defined in header<chrono>
      struct local_t{};
      (since C++20)

      The classlocal_t is a pseudo-clock that is used as the first template argument tostd::chrono::time_point to indicate that the time point represents local time with respect of a not-yet-specified time zone.local_time supports streaming and the full set of time point arithmetic.

      Time point family

      Defined in namespacestd::chrono
      template<class Duration>
      using local_time=std::chrono::time_point<std::chrono::local_t, Duration>;
      (since C++20)
      using local_seconds= local_time<std::chrono::seconds>;
      (since C++20)
      using local_days= local_time<std::chrono::days>;
      (since C++20)
      performs stream output on alocal_time
      (function template)[edit]
      parses alocal_time from a stream according to the provided format
      (function template)[edit]
      formatting support forlocal_time
      (class template specialization)[edit]

      [edit]See also

      (C++20)
      represents a time zone and a time point
      (class)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/chrono/local_t&oldid=153994"

      [8]ページ先頭

      ©2009-2025 Movatter.jp