Datetime.OffsetDateTime.add_period.map: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/datetime.bend as Datetime Lines 378-385 of bend-time-lib@0.4.0.1/datetime.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/datetime.bend&start_line=378&end_line=385 import Base import bend-time-lib@0.4.0.1/date.bend as D def OffsetDateTime.add_period.map( offset: UtcOffset, r: Result<&2, &2, D.Date.Error, LocalDateTime> ) -> Result<&2, &2, D.Date.Error, OffsetDateTime>: match r: case Fail{e}: Fail{e} case Done{ldt}: Done{LocalDateTime.at_offset(ldt, offset)} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result 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/datetime.bend&name=LocalDateTime https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/datetime.bend&name=LocalDateTime.at_offset https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/datetime.bend&name=OffsetDateTime https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/datetime.bend&name=UtcOffset