Datetime.OffsetDateTime.to_unix.map: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/datetime.bend as Datetime Lines 175-182 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=175&end_line=182 import Base import bend-time-lib@0.4.0.1/date.bend as D import bend-time-lib@0.4.0.1/instant.bend as I def OffsetDateTime.to_unix.map( r: Result<&2, &2, I.Instant.Error, U32> ) -> Result<&2, &2, D.Date.Error, U32>: match r: case Fail{_}: Fail{D.OutOfRange{}} case Done{n}: Done{n} Uses (4): 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.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/instant.bend&name=Instant.Error