Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::chrono::zoned_time<Duration,TimeZonePtr>::operator local_time<duration>,std::chrono::zoned_time<Duration,TimeZonePtr>::get_local_time

      From cppreference.com
      <cpp‎ |chrono‎ |zoned time
       
       
      Date and time library
       
       
      std::chrono::local_time<duration> get_local_time()const;
      (since C++20)
      explicit operatorstd::chrono::local_time<duration>()const;
      (since C++20)

      Obtains astd::chrono::local_time<duration> representing the local time in the time zone corresponding to the time point*this represents.

      [edit]Return value

      Astd::chrono::local_time<duration> computed as if byzone->to_local(get_sys_time()), wherezone is the non-static data member holding the stored time zone pointer.

      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/chrono/zoned_time/get_local_time&oldid=146337"

      [8]ページ先頭

      ©2009-2026 Movatter.jp