GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::chrono::file_clock::to_sys,std::chrono::file_clock::from_sys(3) C++ Standard Libary std::chrono::file_clock::to_sys,std::chrono::file_clock::from_sys(3)

std::chrono::file_clock::to_sys,std::chrono::file_clock::from_sys - std::chrono::file_clock::to_sys,std::chrono::file_clock::from_sys


template< class Duration >
(since C++20)
static std::chrono::sys_time</*see below*/> (1) (optional)


to_sys( const std::chrono::file_time<Duration>& t );
template< class Duration >
(since C++20)
static std::chrono::file_time</*see below*/> (2) (optional)


from_sys( const std::chrono::sys_time<Duration>& t );


1) Converts the file_time t to a sys_time representing the same point in time.
2) Converts the sys_time t to a file_time representing the same point in time.


The duration of the return type is computed from Duration in an unspecified manner.


These function templates are optional: an implementation may choose to instead
provide to_utc and from_utc.


1) A sys_time representing the same point in time as the argument.
2) A file_time representing the same point in time as the argument.


User code should usually use std::chrono::clock_cast, which provides a generic
interface to convert time points between clocks, rather than call these functions
directly.


This section is incomplete
Reason: no example


to_utc converts between file_time and utc_time
from_utc (public static member function)
[static] (optional)
clock_cast convert time points of one clock to another
(C++20) (function template)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.