1 //===-- Definition of struct tm -------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef __LLVM_LIBC_TYPES_TM_H__
10 #define __LLVM_LIBC_TYPES_TM_H__
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_TM_H__