Dynalib Utils
Protected Types | Protected Member Functions | Protected Attributes | List of all members
date::detail::time_of_day_base Class Reference

#include <date.h>

Inheritance diagram for date::detail::time_of_day_base:
Inheritance graph
[legend]

Protected Types

enum  { is24hr }
 

Protected Member Functions

CONSTCD11 time_of_day_base () NOEXCEPT
 
CONSTCD11 time_of_day_base (std::chrono::hours h, bool neg, unsigned m) NOEXCEPT
 
CONSTCD14 void make24 () NOEXCEPT
 
CONSTCD14 void make12 () NOEXCEPT
 
CONSTCD14 std::chrono::hours to24hr () const
 
CONSTCD11 bool in_conventional_range () const NOEXCEPT
 

Protected Attributes

std::chrono::hours h_
 
unsigned char mode_
 
bool neg_
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
is24hr 

Constructor & Destructor Documentation

◆ time_of_day_base() [1/2]

CONSTCD11 date::detail::time_of_day_base::time_of_day_base ( )
inlineprotected

◆ time_of_day_base() [2/2]

CONSTCD11 date::detail::time_of_day_base::time_of_day_base ( std::chrono::hours  h,
bool  neg,
unsigned  m 
)
inlineprotected

Member Function Documentation

◆ in_conventional_range()

CONSTCD11 bool date::detail::time_of_day_base::in_conventional_range ( ) const
inlineprotected

◆ make12()

CONSTCD14 void date::detail::time_of_day_base::make12 ( )
inlineprotected

◆ make24()

CONSTCD14 void date::detail::time_of_day_base::make24 ( )
inlineprotected

◆ to24hr()

CONSTCD14 std::chrono::hours date::detail::time_of_day_base::to24hr ( ) const
inlineprotected

Member Data Documentation

◆ h_

std::chrono::hours date::detail::time_of_day_base::h_
protected

◆ mode_

unsigned char date::detail::time_of_day_base::mode_
protected

◆ neg_

bool date::detail::time_of_day_base::neg_
protected

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