![]() ![]() Returns the ceil of a time_point object as a specified type.Ĭonverts a time_point from one clock to an equivalent time_point for another clock.Ĭasts a duration object to a specified type. Returns the ceil of a duration object as a specified type. Used to associate a different default time zone with a zoned_time, and optionally map a custom name to that default time zone.Įrror thrown when a local_time is converted to a sys_time and the result is ambiguous.Įrror thrown when a local_time is converted to a sys_time and the result is a time that doesn't exist. Represents a copy of the time zone database.Ī pairing of a time_zone and a time_point with a specified precision. Provides a low-level interface to time zone information about the result of converting a sys_time to a local_time.Īll time zone transitions for a specific geographic area. ![]() Provides a low-level interface to time zone information about the result of converting a local_time to a sys_time. This clock accounts for leap seconds, and is the time standard used around the world.Īn enum that specifies how to resolve the ambiguous conversion of a local_time to a sys_time. Measures time since 00:00:00 UTC on Thursday, January 1, 1970. This clock doesn't account for leap seconds. Measures International Atomic Time (TAI) starting from Thursday, Januat 00:00:00. This clock is preferred for measuring time intervals.Ī clock based on the real-time clock of the system. Measures time starting from the first Sunday of January 1980 at 00:00:00 UTC.Ī pseudo-clock used as an argument to the time_point template to indicate that the time_point represents local time.Ī steady clock. ![]() The last day of a specific month and year.Ī specific year, month, and nth weekday of the month.Ī specific year, month, and last weekday of the month.Īn alias for the clock used for std::filesystem::file_time_type, which is used to express file timestamps.Ī clock that keeps GPS time. ![]() For example, July 30.Ĭombines a day of the week with an index that represents the weekday of the month.Ī year and month. The data returned by get_leap_second_info.Ī specific day of a specific month. Used to indicate the last item in a month such as last day of the week of a month (the last Tuesday of February 2020) or the last day of a month (the last day of April 2019).Ī date and a value for an inserted leap second. Splits a duration into hours:minutes:seconds. Provides specific values for the duration template parameter Rep. Using the time-zone facilities on older versions of Windows results in a runtime error.ĭescribes specializations of class template common_type for instantiations of duration and time_point.Ī day of the month. A database of these changes was added to Windows 10. Regional legislatures occasionally make changes to time zones, and an international standards body specifies when new leap seconds should be accounted for. However, this isn't necessarily the case for other implementations. In the Microsoft C++ implementation, steady_clock::time_point is now a typedef for chrono::time_point. high_resolution_clock is now a typedef for steady_clock.steady_clock is now based on QueryPerformanceCounter().Include the standard header to define classes and functions that represent and manipulate time durations and time instants.īeginning in Visual Studio 2015, the implementation of steady_clock has changed to meet the C++ Standard requirements for steadiness and monotonicity: ![]()
0 Comments
Leave a Reply. |