package Ġit . se phi ro th . android . app . app unt i . ext Ċ Ċ import Ġorg . th reet en . bp . Instant Ċ import Ġorg . th reet en . bp . Zone Id Ċ import Ġorg . th reet en . bp . Z onedDateTime Ċ import Ġorg . th reet en . bp . format . DateTime Formatter Ċ import Ġorg . th reet en . bp . format . Format Style Ċ Ċ /** Ċ Ġ* ĠConvert Ġthe ĠInstant Ġto Ġa ĠZ onedDateTime Ġwith Ġthe Ġcurrent Ċ Ġ* Ġsystem ĠZone Id Ġand Ġreturn Ġa Ġformatted Ġstring Ġwith Ġthe Ġgiven Ġformat Ċ Ġ*/ Ċ fun ĠInstant . get Localized DateTime Stamp ( format : ĠFormat Style ): ĠString Ġ{ ĊĠĠĠ Ġval Ġtime Ġ= Ġthis . at Zone ( Zone Id . system Default ()) ĊĠĠĠ Ġreturn Ġtime . format ( DateTime Formatter . of Localized DateTime ( format )) Ċ } Ċ Ċ fun ĠInstant . get Localized Date Stamp ( format : ĠFormat Style ): ĠString Ġ{ ĊĠĠĠ Ġval Ġtime Ġ= Ġthis . at Zone ( Zone Id . system Default ()) ĊĠĠĠ Ġreturn Ġtime . format ( DateTime Formatter . of Localized Date ( format )) Ċ } Ċ Ċ fun ĠInstant . get Localized TimeStamp ( format : ĠFormat Style ): ĠString Ġ{ ĊĠĠĠ Ġval Ġtime Ġ= Ġthis . at Zone ( Zone Id . system Default ()) ĊĠĠĠ Ġreturn Ġtime . format ( DateTime Formatter . of Localized Time ( format )) Ċ } Ċ Ċ fun ĠInstant . at Zone (): ĠZ onedDateTime Ġ{ ĊĠĠĠ Ġreturn Ġat Zone ( Zone Id . system Default ()) Ċ }