Maybe there's a reason for this, but it's at the very least confusing to downstream users.
However, with the presence of java.time, it may be best to just deprecate these methods in favor of the existing #toGMTDateTime and a new method to set the time based on incoming java.time types.
The
#toJavaCal
and#setLocalTime
methods we added toDateTime
usecom.ibm.icu.util.Calendar
instead ofjava.util.Calendar
:https://github.com/OpenNTF/org.openntf.domino/blob/master/domino/core/src/main/java/org/openntf/domino/ext/DateTime.java#L125
Maybe there's a reason for this, but it's at the very least confusing to downstream users.
However, with the presence of
java.time
, it may be best to just deprecate these methods in favor of the existing#toGMTDateTime
and a new method to set the time based on incomingjava.time
types.