OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Crashpad Authors. All rights reserved. |
| 2 // |
| 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 // you may not use this file except in compliance with the License. |
| 5 // You may obtain a copy of the License at |
| 6 // |
| 7 // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 // |
| 9 // Unless required by applicable law or agreed to in writing, software |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 // See the License for the specific language governing permissions and |
| 13 // limitations under the License. |
| 14 |
| 15 #ifndef CRASHPAD_COMPAT_NON_WIN_MINWINBASE_H_ |
| 16 #define CRASHPAD_COMPAT_NON_WIN_MINWINBASE_H_ |
| 17 |
| 18 #include <stdint.h> |
| 19 |
| 20 //! \brief Represents a date and time. |
| 21 struct SYSTEMTIME { |
| 22 //! \brief The year, represented fully. |
| 23 //! |
| 24 //! The year 2014 would be represented in this field as `2014`. |
| 25 uint16_t wYear; |
| 26 |
| 27 //! \brief The month of the year, `1` for January and `12` for December. |
| 28 uint16_t wMonth; |
| 29 |
| 30 //! \brief The day of the week, `0` for Sunday and `6` for Saturday. |
| 31 uint16_t wDayOfWeek; |
| 32 |
| 33 //! \brief The day of the month, `1` through `31`. |
| 34 uint16_t wDay; |
| 35 |
| 36 //! \brief The hour of the day, `0` through `23`. |
| 37 uint16_t wHour; |
| 38 |
| 39 //! \brief The minute of the hour, `0` through `59`. |
| 40 uint16_t wMinute; |
| 41 |
| 42 //! \brief The second of the minute, `0` through `60`. |
| 43 uint16_t wSecond; |
| 44 |
| 45 //! \brief The millisecond of the second, `0` through `999`. |
| 46 uint16_t wMilliseconds; |
| 47 }; |
| 48 |
| 49 #endif // CRASHPAD_COMPAT_NON_WIN_MINWINBASE_H_ |
OLD | NEW |