@ file : Suppress (" New Api ", Ġ" ClassName ", Ġ" unused ", Ġ" UNUSED _ PARAMETER ") Ċ Ċ package Ġio . goo oler . demo app . test . util Ċ Ċ import Ġjava . time . Duration Ċ import Ġjava . time . LocalDate Ċ import Ġjava . time . LocalDateTime Ċ import Ġjava . time . Period Ċ Ċ object Ġago Ċ Ċ object Ġfrom Now Ċ Ċ inline Ġval ĠInt . nan oseconds : ĠDuration Ġget () Ġ= ĠDuration . of Nan os ( to Long ()) Ċ Ċ inline Ġval ĠInt . micro seconds : ĠDuration Ġget () Ġ= ĠDuration . of Nan os ( to Long () Ġ* Ġ 1 0 0 0 L ) Ċ Ċ inline Ġval ĠInt . milliseconds : ĠDuration Ġget () Ġ= ĠDuration . of Millis ( to Long ()) Ċ Ċ inline Ġval ĠInt . seconds : ĠDuration Ġget () Ġ= ĠDuration . of Seconds ( to Long ()) Ċ Ċ inline Ġval ĠInt . minutes : ĠDuration Ġget () Ġ= ĠDuration . of Minutes ( to Long ()) Ċ Ċ inline Ġval ĠInt . hours : ĠDuration Ġget () Ġ= ĠDuration . of Hours ( to Long ()) Ċ Ċ inline Ġval ĠInt . days : ĠPeriod Ġget () Ġ= ĠPeriod . of Days ( this ) Ċ Ċ inline Ġval ĠInt . week s : ĠPeriod Ġget () Ġ= ĠPeriod . of Week s ( this ) Ċ Ċ inline Ġval ĠInt . months : ĠPeriod Ġget () Ġ= ĠPeriod . of Months ( this ) Ċ Ċ inline Ġval ĠInt . years : ĠPeriod Ġget () Ġ= ĠPeriod . of Years ( this ) Ċ Ċ inline Ġval ĠDuration . ago : ĠLocalDateTime Ġget () Ġ= Ġbase Time Ġ- Ġthis Ċ Ċ inline Ġval ĠDuration . from Now : ĠLocalDateTime Ġget () Ġ= Ġbase Time Ġ+ Ġthis Ċ Ċ inline Ġval ĠPeriod . ago : ĠLocalDate Ġget () Ġ= Ġbase Date Ġ- Ġthis Ċ Ċ inline Ġval ĠPeriod . from Now : ĠLocalDate Ġget () Ġ= Ġbase Date Ġ+ Ġthis Ċ Ċ infix Ġfun ĠInt . nan oseconds ( from Now : Ġfrom Now ): ĠLocalDateTime Ġ= Ġbase Time . plus Nan os ( to Long ()) Ċ Ċ infix Ġfun ĠInt . nan oseconds ( ago : Ġago ): ĠLocalDateTime Ġ= Ġbase Time . minus Nan os ( to Long ()) Ċ Ċ infix Ġfun ĠInt . micro seconds ( from Now : Ġfrom Now ): ĠLocalDateTime Ġ= Ġbase Time . plus Nan os ( 1 0 0 0 L Ġ* Ġto Long ()) Ċ Ċ infix Ġfun ĠInt . micro seconds ( ago : Ġago ): ĠLocalDateTime Ġ= Ġbase Time . minus Nan os ( 1 0 0 0 L Ġ* Ġto Long ()) Ċ Ċ infix Ġfun ĠInt . milliseconds ( from Now : Ġfrom Now ): ĠLocalDateTime Ġ= ĊĠ Ġbase Time . plus Nan os ( 1 0 0 0 0 0 0 L Ġ* Ġto Long ()) Ċ Ċ infix Ġfun ĠInt . milliseconds ( ago : Ġago ): ĠLocalDateTime Ġ= Ġbase Time . minus Nan os ( 1 0 0 0 0 0 0 L Ġ* Ġto Long ()) Ċ Ċ infix Ġfun ĠInt . seconds ( from Now : Ġfrom Now ): ĠLocalDateTime Ġ= Ġbase Time . plus Seconds ( to Long ()) Ċ Ċ infix Ġfun ĠInt . seconds ( ago : Ġago ): ĠLocalDateTime Ġ= Ġbase Time . minus Seconds ( to Long ()) Ċ Ċ infix Ġfun ĠInt . minutes ( from Now : Ġfrom Now ): ĠLocalDateTime Ġ= Ġbase Time . plus Minutes ( to Long ()) Ċ Ċ infix Ġfun ĠInt . minutes ( ago : Ġago ): ĠLocalDateTime Ġ= Ġbase Time . minus Minutes ( to Long ()) Ċ Ċ infix Ġfun ĠInt . hours ( from Now : Ġfrom Now ): ĠLocalDateTime Ġ= Ġbase Time . plus Hours ( to Long ()) Ċ Ċ infix Ġfun ĠInt . hours ( ago : Ġago ): ĠLocalDateTime Ġ= Ġbase Time . minus Hours ( to Long ()) Ċ Ċ infix Ġfun ĠInt . days ( from Now : Ġfrom Now ): ĠLocalDate Ġ= Ġbase Date . plus Days ( to Long ()) Ċ Ċ infix Ġfun ĠInt . days ( ago : Ġago ): ĠLocalDate Ġ= Ġbase Date . minus Days ( to Long ()) Ċ Ċ infix Ġfun ĠInt . week s ( from Now : Ġfrom Now ): ĠLocalDate Ġ= Ġbase Date . plus Week s ( to Long ()) Ċ Ċ infix Ġfun ĠInt . week s ( ago : Ġago ): ĠLocalDate Ġ= Ġbase Date . minus Week s ( to Long ()) Ċ Ċ infix Ġfun ĠInt . months ( from Now : Ġfrom Now ): ĠLocalDate Ġ= Ġbase Date . plus Months ( to Long ()) Ċ Ċ infix Ġfun ĠInt . months ( ago : Ġago ): ĠLocalDate Ġ= Ġbase Date . minus Months ( to Long ()) Ċ Ċ infix Ġfun ĠInt . years ( from Now : Ġfrom Now ): ĠLocalDate Ġ= Ġbase Date . plus Years ( to Long ()) Ċ Ċ infix Ġfun ĠInt . years ( ago : Ġago ): ĠLocalDate Ġ= Ġbase Date . minus Years ( to Long ()) Ċ Ċ inline Ġval Ġbase Date : ĠLocalDate Ġget () Ġ= ĠLocalDate . now () Ċ Ċ inline Ġval Ġbase Time : ĠLocalDateTime Ġget () Ġ= ĠLocalDateTime . now () Ċ