1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! # Time
//!
//! ## Time as "HHMMSS" format; this is just digits.
//!
//! Examples:
//!
//! ```rust
//! # use typeables::time::*;
//! let x = TimeAsHHMMSSAsStructStr("000000"); // start of day
//! let x = TimeAsHHMMSSAsStructStr("235959"); // finish of day
//! ```
//!
//!
//! ## Time as "HH:MM:SS" format; this is ISO 8601.
//!
//! Examples:
//!
//! ```rust
//! # use typeables::time::*;
//! let x = TimeAsHHXMMXSSAsStructStr("00:00:00"); // start of day
//! let x = TimeAsHHXMMXSSAsStructStr("23:59:59"); // finish of day
//! ```
//// Time as "HHMMSS" format; this is just digits.
pub struct TimeAsHHMMSSAsStructStr(pub &'static str);
pub struct TimeAsHHMMSSAsStructString(pub String);
pub type TimeAsHHMMSSAsTypeStr = str;
pub type TimeAsHHMMSSAsTypeString = String;
//// Time as "HH:MM:SS" format; this is ISO 8601.
pub struct TimeAsHHXMMXSSAsStructStr(pub &'static str);
pub struct TimeAsHHXMMXSSAsStructString(pub String);
pub type TimeAsHHXMMXSSAsTypeStr = str;
pub type TimeAsHHXMMXSSAsTypeString = String;