package Ġcom . alam kan ak . week view . j od atime Ċ Ċ import Ġorg . joda . time . DateTime Ċ import Ġorg . joda . time . DateTime Zone Ċ import Ġorg . joda . time . LocalDate Ċ import Ġorg . joda . time . LocalDateTime Ċ import Ġjava . util . Calendar Ċ Ċ internal Ġfun ĠCalendar . to LocalDate (): ĠLocalDate Ġ{ ĊĠĠĠ Ġval Ġdate TimeZone Ġ= ĠDateTime Zone . for ID ( time Zone . id ) ĊĠĠĠ Ġval ĠdateTime Ġ= ĠDateTime ( time In Millis , Ġdate TimeZone ) ĊĠĠĠ Ġreturn ĠdateTime . to LocalDate () Ċ } Ċ Ċ internal Ġfun ĠCalendar . to LocalDateTime () Ġ= ĠLocalDateTime ( time In Millis ) Ċ Ċ internal Ġfun ĠLocalDate . to Calendar (): ĠCalendar Ġ{ ĊĠĠĠ Ġval Ġcalendar Ġ= ĠCalendar . getInstance () ĊĠĠĠ Ġcalendar . time Ġ= Ġto Date () ĊĠĠĠ Ġreturn Ġcalendar Ċ } Ċ Ċ internal Ġfun ĠLocalDateTime . to Calendar (): ĠCalendar Ġ{ ĊĠĠĠ Ġval Ġcalendar Ġ= ĠCalendar . getInstance () ĊĠĠĠ Ġcalendar . time Ġ= Ġto Date () ĊĠĠĠ Ġreturn Ġcalendar Ċ } Ċ