Bump version to 19.1.0 (final)
[llvm-project.git] / libc / include / llvm-libc-types / struct_tm.h
blob9fef7c5718ea4a5e31c103bf88229ff4990dc770
1 //===-- Definition of struct tm -------------------------------------------===//
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-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_TYPES_STRUCT_TM_H
10 #define LLVM_LIBC_TYPES_STRUCT_TM_H
12 struct tm {
13 int tm_sec; // seconds after the minute
14 int tm_min; // minutes after the hour
15 int tm_hour; // hours since midnight
16 int tm_mday; // day of the month
17 int tm_mon; // months since January
18 int tm_year; // years since 1900
19 int tm_wday; // days since Sunday
20 int tm_yday; // days since January
21 int tm_isdst; // Daylight Saving Time flag
24 #endif // LLVM_LIBC_TYPES_STRUCT_TM_H