AFLOW
 
Loading...
Searching...
No Matches
aurostd_time.h File Reference
#include <ctime>
#include <string>

Go to the source code of this file.

Namespaces

namespace  aurostd
 

Functions

int aurostd::get_day ()
 
int aurostd::get_day (const tm &tstruct)
 
int aurostd::get_month ()
 
int aurostd::get_month (const tm &tstruct)
 
int aurostd::get_year ()
 
int aurostd::get_year (const tm &tstruct)
 
void aurostd::get_offset_utc (int &offset_hours, int &offset_mins)
 
void aurostd::get_offset_utc (const tm &_tstruct_inp, int &offset_hours, int &offset_mins)
 
long int aurostd::get_date ()
 
long int aurostd::get_date (const tm &tstruct)
 
int aurostd::get_hour ()
 
int aurostd::get_hour (const tm &tstruct)
 
int aurostd::get_min ()
 
int aurostd::get_min (const tm &tstruct)
 
int aurostd::get_sec ()
 
int aurostd::get_sec (const tm &tstruct)
 
long double aurostd::get_seconds ()
 
long double aurostd::get_seconds (long double reference_seconds)
 
long double aurostd::get_delta_seconds (long double &seconds_begin)
 
long double aurostd::get_mseconds ()
 
long double aurostd::get_mseconds (long double reference_useconds)
 
long double aurostd::get_delta_mseconds (long double &useconds_begin)
 
long double aurostd::get_useconds ()
 
long double aurostd::get_useconds (long double reference_useconds)
 
long double aurostd::get_delta_useconds (long double &useconds_begin)
 
string aurostd::get_time ()
 
string aurostd::get_time (const tm &tstruct)
 
string aurostd::get_datetime (bool include_utc_offset)
 
string aurostd::get_datetime (const tm &tstruct, bool include_utc_offset)
 
std::string aurostd::get_datetime_formatted (const std::string &date_delim="/", bool include_time=true, const std::string &date_time_sep=" ", const std::string &time_delim=":")
 
std::string aurostd::get_datetime_formatted (const tm &tsruct, const std::string &date_delim="/", bool include_time=true, const std::string &date_time_sep=" ", const std::string &time_delim=":")
 
bool aurostd::beep (uint freq, uint duration)
 
std::string aflow_get_time_string ()
 
std::string aflow_convert_time_ctime2aurostd (const std::string &time_LOCK)
 
std::string aflow_get_time_string_short ()
 

Function Documentation

◆ aflow_get_time_string()

std::string aflow_get_time_string ( )

Definition at line 263 of file aurostd_time.cpp.

◆ aflow_convert_time_ctime2aurostd()

std::string aflow_convert_time_ctime2aurostd ( const std::string & time_LOCK)

◆ aflow_get_time_string_short()

std::string aflow_get_time_string_short ( )

Definition at line 320 of file aurostd_time.cpp.