package Ġk x date . th reet en . bp Ċ Ċ import Ġorg . th reet en . bp . Duration Ċ import Ġorg . th reet en . bp . LocalDate Ċ import Ġorg . th reet en . bp . LocalDateTime Ċ import Ġorg . th reet en . bp . Period Ċ import Ġorg . th reet en . bp . LocalDate . now Ċ import Ġorg . th reet en . bp . DateTime Utils Ċ import Ġorg . th reet en . bp . Zone Id Ċ import Ġjava . util . Date Ċ Ċ object Ġago Ċ Ċ object Ġlater Ċ Ċ val ĠInt . nan oseconds : ĠDuration ĊĠĠĠ Ġget () Ġ= ĠDuration . of Nan os ( to Long ()) Ċ Ċ val ĠInt . micro seconds : ĠDuration ĊĠĠĠ Ġget () Ġ= ĠDuration . of Nan os ( to Long () Ġ* Ġ 1 0 0 0 L ) Ċ Ċ val ĠInt . milliseconds : ĠDuration ĊĠĠĠ Ġget () Ġ= ĠDuration . of Millis ( to Long ()) Ċ Ċ val ĠInt . seconds : ĠDuration ĊĠĠĠ Ġget () Ġ= ĠDuration . of Seconds ( to Long ()) Ċ Ċ val ĠInt . minutes : ĠDuration ĊĠĠĠ Ġget () Ġ= ĠDuration . of Minutes ( to Long ()) Ċ Ċ val ĠInt . hours : ĠDuration ĊĠĠĠ Ġget () Ġ= ĠDuration . of Hours ( to Long ()) Ċ Ċ val ĠInt . days : ĠPeriod ĊĠĠĠ Ġget () Ġ= ĠPeriod . of Days ( this ) Ċ Ċ val ĠInt . week s : ĠPeriod ĊĠĠĠ Ġget () Ġ= ĠPeriod . of Week s ( this ) Ċ Ċ val ĠInt . months : ĠPeriod ĊĠĠĠ Ġget () Ġ= ĠPeriod . of Months ( this ) Ċ Ċ val ĠInt . years : ĠPeriod ĊĠĠĠ Ġget () Ġ= ĠPeriod . of Years ( this ) Ċ Ċ val ĠDuration . ago : ĠLocalDateTime ĊĠĠĠ Ġget () Ġ= Ġ Ġbase Time () Ġ- Ġthis Ċ Ċ val ĠDuration . later : ĠLocalDateTime ĊĠĠĠ Ġget () Ġ= Ġ Ġbase Time () Ġ+ Ġthis Ċ Ċ val ĠPeriod . ago : ĠLocalDate ĊĠĠĠ Ġget () Ġ= Ġbase Date () Ġ- Ġthis Ċ Ċ val ĠPeriod . later : ĠLocalDate ĊĠĠĠ Ġget () Ġ= Ġbase Date () Ġ+ Ġthis Ċ Ċ val ĠString . during Now : ĠPeriod ĊĠĠĠ Ġget () Ġ= Ġthis . during ( now ()) Ċ Ċ infix Ġfun ĠString . during ( from : ĠLocalDate ) Ġ= ĠLocalDate . parse ( this ). during ( from ) Ċ infix Ġfun ĠLocalDate . during ( from : ĠLocalDate ) Ġ= ĠPeriod . between ( this , Ġfrom ) Ċ infix Ġfun ĠString . during ( from : ĠString ) Ġ= ĠLocalDate . parse ( this ) Ġduring ĠLocalDate . parse ( from ) Ċ infix Ġfun ĠLocalDate . during ( from : ĠString ) Ġ= Ġduring ( LocalDate . parse ( from )) Ċ Ċ infix Ġfun ĠInt . nan oseconds ( later : Ġlater ) Ġ= Ġbase Time (). plus Nan os ( to Long ()) Ċ Ċ infix Ġfun ĠInt . nan oseconds ( ago : Ġago ) Ġ= Ġbase Time (). minus Nan os ( to Long ()) Ċ Ċ infix Ġfun ĠInt . micro seconds ( later : Ġlater ) Ġ= Ġbase Time (). plus Nan os ( 1 0 0 0 L Ġ* Ġto Long ()) Ċ Ċ infix Ġfun ĠInt . micro seconds ( ago : Ġago ) Ġ= Ġbase Time (). minus Nan os ( 1 0 0 0 L Ġ* Ġto Long ()) Ċ Ċ infix Ġfun ĠInt . milliseconds ( later : Ġlater ) Ġ= Ġbase Time (). plus Nan os ( 1 0 0 0 0 0 0 L Ġ* Ġto Long ()) Ċ Ċ infix Ġfun ĠInt . milliseconds ( ago : Ġago ) Ġ= Ġbase Time (). minus Nan os ( 1 0 0 0 0 0 0 L Ġ* Ġto Long ()) Ċ Ċ infix Ġfun ĠInt . seconds ( later : Ġlater ) Ġ= Ġbase Time (). plus Seconds ( to Long ()) Ċ Ċ infix Ġfun ĠInt . seconds ( ago : Ġago ) Ġ= Ġbase Time (). minus Seconds ( to Long ()) Ċ Ċ infix Ġfun ĠInt . minutes ( later : Ġlater ) Ġ= Ġbase Time (). plus Minutes ( to Long ()) Ċ Ċ infix Ġfun ĠInt . minutes ( ago : Ġago ) Ġ= Ġbase Time (). minus Minutes ( to Long ()) Ċ Ċ infix Ġfun ĠInt . hours ( later : Ġlater ) Ġ= Ġbase Time (). plus Hours ( to Long ()) Ċ Ċ infix Ġfun ĠInt . hours ( ago : Ġago ) Ġ= Ġbase Time (). minus Hours ( to Long ()) Ċ Ċ infix Ġfun ĠInt . days ( later : Ġlater ) Ġ= Ġbase Date (). plus Days ( to Long ()) Ċ Ċ infix Ġfun ĠInt . days ( ago : Ġago ) Ġ= Ġbase Date (). minus Days ( to Long ()) Ċ Ċ infix Ġfun ĠInt . week s ( later : Ġlater ) Ġ= Ġbase Date (). plus Week s ( to Long ()) Ċ Ċ infix Ġfun ĠInt . week s ( ago : Ġago ) Ġ= Ġbase Date (). minus Week s ( to Long ()) Ċ Ċ infix Ġfun ĠInt . months ( later : Ġlater ) Ġ= Ġbase Date (). plus Months ( to Long ()) Ċ Ċ infix Ġfun ĠInt . months ( ago : Ġago ) Ġ= Ġbase Date (). minus Months ( to Long ()) Ċ Ċ infix Ġfun ĠInt . years ( later : Ġlater ) Ġ= Ġbase Date (). plus Years ( to Long ()) Ċ Ċ infix Ġfun ĠInt . years ( ago : Ġago ) Ġ= Ġbase Date (). minus Years ( to Long ()) Ċ Ċ private Ġfun Ġbase Date () Ġ= ĠLocalDate . now () Ċ Ċ private Ġfun Ġbase Time () Ġ= ĠLocalDateTime . now () Ċ Ċ fun ĠDate . to LocalDateTime () Ġ= ĊĠĠĠĠĠĠĠ ĠDateTime Utils . to Instant ( this ). at Zone ( Zone Id . system Default ()). to LocalDateTime () Ċ Ċ fun ĠLocalDateTime . toDate () Ġ= ĊĠĠĠĠĠĠĠ ĠDateTime Utils . toDate ( this . at Zone ( Zone Id . system Default ()). to Instant ()) Ċ Ċ // val ĠLocalDateTime . epoch Second : ĠLong Ċ fun ĠLocalDateTime . to Epoch Second () Ġ= Ġthis . at Zone ( Zone Id . system Default ()). to Instant (). epoch Second Ċ