trivet 3.1.0

The trivet Parser Library
Documentation
use trivet::parsers::datetime::{Date, DateTime, SecondsFraction, Time, TimeOffset};

/// Construct and print a date and time.
fn main() {
    let apollo = DateTime::DateTime(
        Date {
            year: 1969,
            month: 7,
            day: 20,
        },
        Time {
            hour: 20,
            minute: 17,
            second: 0,
            fraction: SecondsFraction::None,
            offset: TimeOffset::Offset {
                plus: true,
                hours: 0,
                minutes: 0,
            },
        },
    );
    println!("{}", apollo);
}