[][src]Trait clock_cli::utils::PrettyDuration

pub trait PrettyDuration {
    fn pretty(&self) -> String;
fn pretty_s(&self) -> String; }

Required methods

fn pretty(&self) -> String

fn pretty_s(&self) -> String

Loading content...

Implementations on Foreign Types

impl PrettyDuration for Duration[src]

fn pretty(&self) -> String[src]

Pretty-prints a chrono::Duration in the form HH:MM:SS.xxx

fn pretty_s(&self) -> String[src]

Pretty-prints a chrono::Duration in the form HH:MM:SS.xxx

Loading content...

Implementors

Loading content...