Struct rtlola_interpreter::time::AbsoluteFloat
source · pub struct AbsoluteFloat {}
Expand description
Time represented as wall clock time given as a positive real number representing seconds and sub-seconds since the start of the Unix Epoch.
Trait Implementations§
source§impl Clone for AbsoluteFloat
impl Clone for AbsoluteFloat
source§fn clone(&self) -> AbsoluteFloat
fn clone(&self) -> AbsoluteFloat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AbsoluteFloat
impl Debug for AbsoluteFloat
source§impl Default for AbsoluteFloat
impl Default for AbsoluteFloat
source§fn default() -> AbsoluteFloat
fn default() -> AbsoluteFloat
Returns the “default value” for a type. Read more
source§impl TimeMode for AbsoluteFloat
impl TimeMode for AbsoluteFloat
source§fn requires_timestamp() -> bool
fn requires_timestamp() -> bool
Returns whether the time TimeRepresentation require an explicit timestamp
source§impl TimeRepresentation for AbsoluteFloat
impl TimeRepresentation for AbsoluteFloat
source§fn convert_from(&mut self, ts: Duration) -> Time
fn convert_from(&mut self, ts: Duration) -> Time
Convert from the internal time representation to the monitor time.
source§fn convert_into(&self, ts: Time) -> Self::InnerTime
fn convert_into(&self, ts: Time) -> Self::InnerTime
Convert from monitor time to the internal representation.
source§fn parse(s: &str) -> Result<Duration, String>
fn parse(s: &str) -> Result<Duration, String>
Parse the internal representation from a string and convert it into monitor time.
source§fn default_start_time() -> Option<SystemTime>
fn default_start_time() -> Option<SystemTime>
Returns a default start time if applicable for the time representation.