Datetime.LocalDateTime.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 362-369 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=362&end_line=369 import Base import bend-time-lib@0.4.0.1/date.bend as D def LocalDateTime.add_period.map( time: TimeOfDay, r: Result<&2, &2, D.Date.Error, D.Date> ) -> Result<&2, &2, D.Date.Error, LocalDateTime>: match r: case Fail{e}: Fail{e} case Done{date2}: Done{LocalDateTime{date2, time}} Uses (5): 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 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=TimeOfDay