Path: blob/main/contrib/llvm-project/libcxx/include/__chrono/sys_info.h
35262 views
// -*- C++ -*-1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//89// For information see https://libcxx.llvm.org/DesignDocs/TimeZone.html1011#ifndef _LIBCPP___CHRONO_SYS_INFO_H12#define _LIBCPP___CHRONO_SYS_INFO_H1314#include <version>15// Enable the contents of the header only when libc++ was built with experimental features enabled.16#if !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)1718# include <__chrono/duration.h>19# include <__chrono/system_clock.h>20# include <__chrono/time_point.h>21# include <__config>22# include <string>2324# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)25# pragma GCC system_header26# endif2728_LIBCPP_BEGIN_NAMESPACE_STD2930# if _LIBCPP_STD_VER >= 203132namespace chrono {3334struct sys_info {35sys_seconds begin;36sys_seconds end;37seconds offset;38minutes save;39string abbrev;40};4142} // namespace chrono4344# endif // _LIBCPP_STD_VER >= 204546_LIBCPP_END_NAMESPACE_STD4748#endif // !defined(_LIBCPP_HAS_NO_EXPERIMENTAL_TZDB)4950#endif // _LIBCPP___CHRONO_SYS_INFO_H515253