REMORA
Regional Modeling of Oceans Refined Adaptively
Loading...
Searching...
No Matches
remora_time_units_detail Namespace Reference

Functions

std::string lower (std::string s)
 
bool parse_clock (const std::string &tok, REMORATimeUnits &out)
 hh:mm[:ss[.s]], optionally suffixed z. Fills the time fields on success.
 
bool parse_date (const std::string &tok, REMORATimeUnits &out)
 
bool is_utc (const std::string &tok)
 A time-zone designator that means UTC.
 

Function Documentation

◆ is_utc()

bool remora_time_units_detail::is_utc ( const std::string &  tok)
inline

A time-zone designator that means UTC.

Definition at line 113 of file REMORA_TimeUnits.H.

Here is the call graph for this function:

◆ lower()

std::string remora_time_units_detail::lower ( std::string  s)
inline

Definition at line 54 of file REMORA_TimeUnits.H.

Referenced by remora_calendar_matches_time_ref().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_clock()

bool remora_time_units_detail::parse_clock ( const std::string &  tok,
REMORATimeUnits &  out 
)
inline

hh:mm[:ss[.s]], optionally suffixed z. Fills the time fields on success.

Definition at line 65 of file REMORA_TimeUnits.H.

Referenced by parse_date().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_date()

bool remora_time_units_detail::parse_date ( const std::string &  tok,
REMORATimeUnits &  out 
)
inline

[-]YYYY-MM-DD, optionally followed by T and a clock. Fills the date fields on success; a clock attached with T is parsed too.

Definition at line 90 of file REMORA_TimeUnits.H.

Here is the call graph for this function: