|
Lightweight 0.20261105.1
|
#include <SqlValueStorage.hpp>
Public Attributes | |
| std::int16_t | year |
| Year, may be negative. | |
| std::uint16_t | month |
| Month of the year, 1-12. | |
| std::uint16_t | day |
| Day of the month, 1-31. | |
| std::uint16_t | hour |
| Hour of the day, 0-23. | |
| std::uint16_t | minute |
| Minute of the hour, 0-59. | |
| std::uint16_t | second |
| Second of the minute, 0-59. | |
| std::uint32_t | fraction |
| Fractional seconds in nanoseconds. | |
Lightweight-owned storage of a SQL TIMESTAMP / DATETIME value.
Layout-identical to ODBC's SQL_TIMESTAMP_STRUCT.
Definition at line 30 of file SqlValueStorage.hpp.
| std::int16_t Lightweight::SqlTimestampStorage::year |
Year, may be negative.
Definition at line 33 of file SqlValueStorage.hpp.
Referenced by Lightweight::SqlDateTime::ConvertToSqlValue(), Lightweight::SqlDateTime::SqlDateTime(), Lightweight::SqlDateTime::SqlDateTime(), and Lightweight::SqlDateTime::year().
| std::uint16_t Lightweight::SqlTimestampStorage::month |
Month of the year, 1-12.
Definition at line 35 of file SqlValueStorage.hpp.
Referenced by Lightweight::SqlDateTime::month().
| std::uint16_t Lightweight::SqlTimestampStorage::day |
Day of the month, 1-31.
Definition at line 37 of file SqlValueStorage.hpp.
Referenced by Lightweight::SqlDateTime::day().
| std::uint16_t Lightweight::SqlTimestampStorage::hour |
Hour of the day, 0-23.
Definition at line 39 of file SqlValueStorage.hpp.
Referenced by Lightweight::SqlDateTime::hour().
| std::uint16_t Lightweight::SqlTimestampStorage::minute |
Minute of the hour, 0-59.
Definition at line 41 of file SqlValueStorage.hpp.
Referenced by Lightweight::SqlDateTime::minute().
| std::uint16_t Lightweight::SqlTimestampStorage::second |
Second of the minute, 0-59.
Definition at line 43 of file SqlValueStorage.hpp.
Referenced by Lightweight::SqlDateTime::second().
| std::uint32_t Lightweight::SqlTimestampStorage::fraction |
Fractional seconds in nanoseconds.
Definition at line 45 of file SqlValueStorage.hpp.
Referenced by Lightweight::SqlDateTime::nanosecond().