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 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_LIBC_TYPES_STRUCT_TM_H 10 #define LLVM_LIBC_TYPES_STRUCT_TM_H 11 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 22 }; 23 24 #endif // LLVM_LIBC_TYPES_STRUCT_TM_H 25