Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
time_shield::TimeZoneStruct Struct Reference

Structure to represent time zone information. More...

#include <time_zone_struct.hpp>

Public Attributes

int hour
 Hour component of time (0-23)
 
int min
 Minute component of time (0-59)
 
bool is_positive
 True if the time zone offset is positive, false if negative.
 

Detailed Description

Structure to represent time zone information.

This structure contains the hour and minute components of a time zone offset, as well as a boolean indicating whether the offset is positive or negative.

Definition at line 16 of file time_zone_struct.hpp.

Member Data Documentation

◆ hour

int time_shield::TimeZoneStruct::hour

Hour component of time (0-23)

Definition at line 17 of file time_zone_struct.hpp.

◆ is_positive

bool time_shield::TimeZoneStruct::is_positive

True if the time zone offset is positive, false if negative.

Definition at line 19 of file time_zone_struct.hpp.

◆ min

int time_shield::TimeZoneStruct::min

Minute component of time (0-59)

Definition at line 18 of file time_zone_struct.hpp.


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