toJavaTime

Converts the passed value to Java Time instance.