A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
temporal.cc File Reference
#include "a11/flow/temporal.h"
#include <cstdlib>
#include <string>
#include <absl/strings/ascii.h>
#include <absl/strings/match.h>
#include <cmath>
#include "a11/flow/vocabulary.h"

Namespaces

namespace  a11
 
namespace  a11::flow
 

Functions

absl::Duration a11::flow::SecondsDuration (double total)
 A duration of total seconds, including negative and infinite values.
 
std::optional< absl::Duration > a11::flow::ParseDuration (std::string_view text)
 Parse duration text, including compound units and bare seconds.
 
std::optional< absl::Time > a11::flow::ParseTime (std::string_view text)
 Parse an instant as RFC 3339 text or a UTC calendar date.