time 0.3.46

Date and time library. Fully interoperable with the standard library. Mostly compatible with #![no_std].
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use time::macros::offset;

fn main() {
    let _ = offset!(+26);
    let _ = offset!(+0:60);
    let _ = offset!(+0:00:60);
    let _ = offset!(0);
    let _ = offset!();
    let _ = offset!(+0a);
    let _ = offset!(+0:0a);
    let _ = offset!(+0:00:0a);
}