NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
tz.cpp File Reference
#include "date/tz_private.h"
#include <algorithm>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <cwchar>
#include <exception>
#include <fstream>
#include <iostream>
#include <iterator>
#include <memory>
#include <sstream>
#include <string>
#include <tuple>
#include <vector>
#include <sys/stat.h>
#include <unistd.h>
#include <wordexp.h>
#include <limits.h>
#include <string.h>
#include <sys/fcntl.h>
#include <dirent.h>
#include <sys/wait.h>
#include <sys/types.h>
Include dependency graph for tz.cpp:

Go to the source code of this file.

Classes

struct  date::tzdb_list::undocumented_helper
 
struct  date::find_rule_by_name
 

Namespaces

namespace  date
 

Macros

#define TARGET_OS_IPHONE   0
 
#define TARGET_OS_SIMULATOR   0
 

Functions

static std::string expand_path (std::string path)
 
static std::string get_download_folder ()
 
static std::string & date::access_install ()
 
void date::set_install (const std::string &s)
 
static const std::string & date::get_install ()
 
static std::string date::discover_tz_dir ()
 
static const std::string & date::get_tz_dir ()
 
static std::unique_ptr< tzdbdate::init_tzdb ()
 
static tzdb_list date::create_tzdb ()
 
tzdb_list & date::get_tzdb_list ()
 
static std::string date::parse3 (std::istream &in)
 
static unsigned date::parse_month (std::istream &in)
 
static unsigned date::parse_dow (std::istream &in)
 
static std::chrono::seconds date::parse_unsigned_time (std::istream &in)
 
static std::chrono::seconds date::parse_signed_time (std::istream &in)
 
static std::pair< const Rule *, date::yeardate::find_previous_rule (const Rule *r, date::year y)
 
static std::pair< const Rule *, date::yeardate::find_next_rule (const Rule *first_rule, const Rule *last_rule, const Rule *r, date::year y)
 
static std::pair< const Rule *, date::yeardate::find_next_rule (const Rule *r, date::year y)
 
static const Ruledate::find_first_std_rule (const std::pair< const Rule *, const Rule * > &eqr)
 
static std::pair< const Rule *, date::yeardate::find_rule_for_zone (const std::pair< const Rule *, const Rule * > &eqr, const date::year &y, const std::chrono::seconds &offset, const MonthDayTime &mdt)
 
static std::pair< const Rule *, date::yeardate::find_rule_for_zone (const std::pair< const Rule *, const Rule * > &eqr, const sys_seconds &tp_utc, const local_seconds &tp_std, const local_seconds &tp_loc)
 
static sys_info date::find_rule (const std::pair< const Rule *, date::year > &first_rule, const std::pair< const Rule *, date::year > &last_rule, const date::year &y, const std::chrono::seconds &offset, const MonthDayTime &mdt, const std::chrono::minutes &initial_save, const std::string &initial_abbrev)
 
static std::string date::format_abbrev (std::string format, const std::string &variable, std::chrono::seconds off, std::chrono::minutes save)
 
std::ostream & date::operator<< (std::ostream &os, const time_zone &z)
 
std::ostream & date::operator<< (std::ostream &os, const leap_second &x)
 
std::ostream & date::operator<< (std::ostream &os, const time_zone_link &x)
 
static bool date::file_exists (const std::string &filename)
 
static std::string date::get_version (const std::string &path)
 
const tzdbdate::reload_tzdb ()
 
const tzdbdate::get_tzdb ()
 
const time_zonedate::locate_zone (const std::string &tz_name)
 
std::ostream & date::operator<< (std::ostream &os, const tzdb &db)
 
static std::string date::extract_tz_name (char const *rp)
 
static bool date::sniff_realpath (const char *timezone)
 
const time_zonedate::current_zone ()
 

Variables

static CONSTDATA char folder_delimiter = '/'
 USE_SHELL_API. More...
 
CONSTDATA auto date::min_year = date::year::min()
 
CONSTDATA auto date::max_year = date::year::max()
 
CONSTDATA auto date::min_day = date::January/1
 
CONSTDATA auto date::max_day = date::December/31
 

Macro Definition Documentation

◆ TARGET_OS_IPHONE

#define TARGET_OS_IPHONE   0

Definition at line 91 of file tz.cpp.

◆ TARGET_OS_SIMULATOR

#define TARGET_OS_SIMULATOR   0

Definition at line 92 of file tz.cpp.

Function Documentation

◆ expand_path()

static std::string expand_path ( std::string  path)
static

Definition at line 244 of file tz.cpp.

Referenced by get_download_folder().

◆ get_download_folder()

static std::string get_download_folder ( )
static

Definition at line 261 of file tz.cpp.

References expand_path().

Referenced by date::access_install().

Here is the call graph for this function:

Variable Documentation

◆ folder_delimiter

CONSTDATA char folder_delimiter = '/'
static

USE_SHELL_API.

Definition at line 174 of file tz.cpp.

Referenced by date::access_install(), and date::init_tzdb().