You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: time.rs
    path of file: ./repos/ruruby/ruruby/src/builtin
    
    the code of the file until where you have to start completion: use crate::*;
use chrono::{DateTime, Datelike, Duration, FixedOffset, NaiveDate, Utc};

#[derive(Clone, Debug, PartialEq)]
pub enum TimeInfo {
    Local(DateTime<FixedOffset>),
    UTC(DateTime<Utc>),
}

impl std::fmt::Display for TimeInfo {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
      
    
    fn time() {
        let program = r#"
        t = Time.utc(1,2,3,4,5,6,7)
        assert "0001-02-03 04:05:06.000007 UTC", t.inspect
        assert "0001-02-03 04:05:06 UTC", t.to_s
        assert "0001-02-03 04:00:00 UTC", Time.gm(1,2,3,4).inspect
        assert "0001-02-03 04:00:00 UTC", Time.gm(1,2,3,4).to_s
        assert 1, t.year
        assert 2, t.month
        assert 2, t.mon
        assert 3, t.day
        assert 3, t.mday
        assert t.gmtime.inspect, t.utc.inspect
    "#;
        assert_script(program);
    }