Harlinn.Windows 0.1
Loading...
Searching...
No Matches
Harlinn::OCI::Time Struct Reference

Binary compatible with OCITime. More...

#include <HOCITypes.h>

Public Member Functions

constexpr Time () noexcept
 
constexpr Time (const DateTime &datetime) noexcept
 
Timeoperator= (const DateTime &datetime) noexcept
 
Common::Core::DateTime ToTime () const
 
constexpr bool IsEmpty () const noexcept
 
void Assign (const DateTime &datetime) noexcept
 
void Assign (Byte hour, Byte minute, Byte second) noexcept
 
void GetTime (Byte &hour, Byte &minute, Byte &second) const noexcept
 

Public Attributes

Byte Hours
 hours; range is 0 <= hours <=23
 
Byte Minutes
 minutes; range is 0 <= minutes <= 59
 
Byte Seconds
 seconds; range is 0 <= seconds <= 59
 

Detailed Description

Binary compatible with OCITime.

Constructor & Destructor Documentation

◆ Time() [1/2]

Harlinn::OCI::Time::Time ( )
inlineconstexprnoexcept

◆ Time() [2/2]

Harlinn::OCI::Time::Time ( const DateTime & datetime)
inlineconstexprnoexcept

Member Function Documentation

◆ Assign() [1/2]

void Harlinn::OCI::Time::Assign ( Byte hour,
Byte minute,
Byte second )
inlinenoexcept

◆ Assign() [2/2]

void Harlinn::OCI::Time::Assign ( const DateTime & datetime)
inlinenoexcept

◆ GetTime()

void Harlinn::OCI::Time::GetTime ( Byte & hour,
Byte & minute,
Byte & second ) const
inlinenoexcept

◆ IsEmpty()

bool Harlinn::OCI::Time::IsEmpty ( ) const
inlineconstexprnoexcept

◆ operator=()

Time & Harlinn::OCI::Time::operator= ( const DateTime & datetime)
inlinenoexcept

◆ ToTime()

Common::Core::DateTime Harlinn::OCI::Time::ToTime ( ) const
inline

Member Data Documentation

◆ Hours

Byte Harlinn::OCI::Time::Hours

hours; range is 0 <= hours <=23

◆ Minutes

Byte Harlinn::OCI::Time::Minutes

minutes; range is 0 <= minutes <= 59

◆ Seconds

Byte Harlinn::OCI::Time::Seconds

seconds; range is 0 <= seconds <= 59


The documentation for this struct was generated from the following file: