TemporalZ

init

Creates a new PlainDate from the given ISO year, month, and day.

Parameters

#
year_val:i32
i32
month_val:u8
u8
day_val:u8
u8

Source

Implementation

#
pub fn init(year_val: i32, month_val: u8, day_val: u8) !PlainDate {
    return calInit(year_val, month_val, day_val, "iso8601");
}