birl/datetime
Types
pub type Date {
Date(year: Int, month: Int, day: Int)
}
Constructors
-
Date(year: Int, month: Int, day: Int)
pub type Time {
Time(hour: Int, minute: Int, second: Int)
}
Constructors
-
Time(hour: Int, minute: Int, second: Int)
Functions
pub fn from_parts(date: Date, time: Time) -> DateTime