Harlinn.Windows 0.1
|
Binary compatible with OCIDate. More...
#include <HOCITypes.h>
Public Member Functions | |
constexpr | Date () noexcept |
Date (const DateTime &datetime) noexcept | |
Date & | operator= (const DateTime &datetime) |
Common::Core::DateTime | ToDateTime () const |
void | Assign (const DateTime &datetime) noexcept |
constexpr bool | IsEmpty () const noexcept |
void | GetTime (Byte &hour, Byte &minute, Byte &second) const noexcept |
void | SetTime (Byte hour, Byte minute, Byte second) |
void | GetDateTime (short &year, Byte &month, Byte &day, Byte &hour, Byte &minute, Byte &second) const noexcept |
void | SetDateTime (short year, Byte month, Byte day, Byte hour, Byte minute, Byte second) noexcept |
void | GetDate (short &year, Byte &month, Byte &day) const noexcept |
void | SetDate (short year, Byte month, Byte day) noexcept |
Int64 | Ticks () const |
void | SetTicks (Int64 ticks) |
Public Attributes | |
Int16 | Year |
gregorian year; range is -4712 <= year <= 9999 | |
Byte | Month |
month; range is 1 <= month < 12 | |
Byte | Day |
day; range is 1 <= day <= 31 | |
OCI::Time | Time |
time | |
Binary compatible with OCIDate.
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineconstexprnoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
Byte Harlinn::OCI::Date::Day |
day; range is 1 <= day <= 31
Byte Harlinn::OCI::Date::Month |
month; range is 1 <= month < 12
OCI::Time Harlinn::OCI::Date::Time |
time
Int16 Harlinn::OCI::Date::Year |
gregorian year; range is -4712 <= year <= 9999