NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
date::tzdb Struct Reference

#include <tz.h>

Collaboration diagram for date::tzdb:

Public Member Functions

 tzdb ()=default
 
 tzdb (tzdb &&)=default
 
tzdboperator= (tzdb &&)=default
 
const time_zonelocate_zone (const std::string &tz_name) const
 
const time_zonecurrent_zone () const
 

Public Attributes

std::string version = "unknown"
 
std::vector< time_zonezones
 
std::vector< time_zone_linklinks
 
std::vector< leap_secondleap_seconds
 
std::vector< detail::Rulerules
 
tzdbnext = nullptr
 

Detailed Description

Definition at line 1150 of file tz.h.

Constructor & Destructor Documentation

◆ tzdb() [1/2]

date::tzdb::tzdb ( )
default

◆ tzdb() [2/2]

date::tzdb::tzdb ( tzdb &&  )
default

Member Function Documentation

◆ current_zone()

const time_zone * date::tzdb::current_zone ( ) const

Definition at line 3805 of file tz.cpp.

References CONSTDATA, date::extract_tz_name(), date::get_tz_dir(), locate_zone(), and date::sniff_realpath().

Referenced by date::current_zone().

Here is the call graph for this function:

◆ locate_zone()

const time_zone * date::tzdb::locate_zone ( const std::string &  tz_name) const

Definition at line 3589 of file tz.cpp.

References HAS_STRING_VIEW.

Referenced by current_zone(), and date::locate_zone().

◆ operator=()

tzdb & date::tzdb::operator= ( tzdb &&  )
default

Member Data Documentation

◆ leap_seconds

std::vector<leap_second> date::tzdb::leap_seconds

Definition at line 1157 of file tz.h.

Referenced by date::utc_clock::from_sys(), date::is_leap_second(), and date::operator<<().

◆ links

std::vector<time_zone_link> date::tzdb::links

Definition at line 1155 of file tz.h.

Referenced by date::operator<<().

◆ next

tzdb* date::tzdb::next = nullptr

◆ rules

std::vector<detail::Rule> date::tzdb::rules

Definition at line 1159 of file tz.h.

Referenced by date::find_next_rule(), date::find_previous_rule(), and date::operator<<().

◆ version

std::string date::tzdb::version = "unknown"

Definition at line 1152 of file tz.h.

Referenced by date::operator<<(), and date::reload_tzdb().

◆ zones

std::vector<time_zone> date::tzdb::zones

Definition at line 1153 of file tz.h.

Referenced by date::operator<<().


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