Date.Date.with_year: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/date.bend as Date Lines 178-181 of bend-time-lib@0.4.0.1/date.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/date.bend&start_line=178&end_line=181 import Base def Date.with_year(date: Date, y: U32) -> Result<&2, &2, Date.Error, Date>: match date: case Date{_, +m, +d}: Date.from(y, m, d) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/date.bend&name=Date https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/date.bend&name=Date.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/date.bend&name=Date.from