See this topic:
zdt here is of type Java Time, so you have to use
val DateTimeType myDateTimeType = new DateTimeType(zdt) // conversion
See this topic:
zdt here is of type Java Time, so you have to use
val DateTimeType myDateTimeType = new DateTimeType(zdt) // conversion