package Ġcalendar Ċ Ċ import Ġjava . time . Instant Ċ import Ġjava . time . LocalDate Ċ import Ġjava . time . LocalDateTime Ċ import Ġjava . time . Local Time Ċ import Ġjava . time . Month Ċ import Ġjava . time . Zone Id Ċ import Ġjava . time . Zone Offset ĊĊ Ċ object ĠT iming Ġ{ Ċ ĉ fun Ġget Now Local (): ĠLocalDateTime Ġ= ĠLocalDateTime . now ( Zone Id . system Default ()) ĊĉĊ ĉ fun ĠLocalDate . to UT CE poch Minute (): ĠLong Ġ= Ġto Epoch Second ( Local Time . MID N IGHT , ĠZone Offset . UTC ) Ġ/ Ġ 6 0 ĊĉĊ ĉ fun ĠLocalDateTime . to UT CE poch Minute (): ĠLong Ġ= Ġto Epoch Second ( Zone Offset . UTC ) Ġ/ Ġ 6 0 ĊĉĊ ĉ /** Ċĉ Ġ* Ġget ĠLocalDateTime Ġof Ġyear Ġmonth Ġand Ġday Ġof Ġmonth Ġand Ġhour Ċĉ Ġ* Ċĉ Ġ*/ Ċ ĉ fun Ġget Now UTC ( year : ĠInt , Ġmonth : ĠMonth , Ġday OfMonth : ĠInt , Ġhour : ĠInt ): ĠLocalDateTime Ġ= ĠLocalDateTime . of ( year , Ġmonth , Ġday OfMonth , Ġhour , Ġ 0 ) ĊĉĊ ĉ fun ĠUT CE poch Minute To LocalDateTime ( start : ĠLong ): ĠLocalDateTime Ġ= ĠLocalDateTime . of Instant ( Instant . of Epoch Second ( start Ġ* Ġ 6 0 ), ĠZone Offset . UTC ) ĊĉĊ ĉ fun Ġstar to f Day Minutes ( start : ĠLong ): ĠInt Ġ= ĠUT CE poch Minute To LocalDateTime ( start ). to Local Time (). to Second OfDay () Ġ/ Ġ 6 0 Ċ }