NdsBeisUi/src/main/java/com/northgateps/nds/beis/ui/util/NdsDateTimeUtils.java
/**
     * Convert ZonedDateTime to a DateTimeField
     * @param dateTimeField
     * @param dateTime
     * @return
     */
Convert ZonedDateTime to a DateTimeField
@param dateTimeField
@param dateTime
@return
Convert ZonedDateTime to a DateTimeField @param dateTimeField @param dateTime @return
public static DateTimeField convertToDateTimeField(DateTimeField dateTimeField, ZonedDateTime dateTime) {
        if (dateTime != null) {
            dateTimeField.setYear(Integer.toString(dateTime.getYear()));
            dateTimeField.setMonthOfYear(Integer.toString(dateTime.getMonthValue()));
            dateTimeField.setDayOfMonth(Integer.toString(dateTime.getDayOfMonth()));
        }
        return dateTimeField;
    }
public static DateTimeField convertToDateTimeField ( DateTimeField dateTimeField , ZonedDateTime dateTime ) { if ( dateTime != null ) { dateTimeField . setYear ( Integer . toString ( dateTime . getYear ( ) ) ) ; dateTimeField . setMonthOfYear ( Integer . toString ( dateTime . getMonthValue ( ) ) ) ; dateTimeField . setDayOfMonth ( Integer . toString ( dateTime . getDayOfMonth ( ) ) ) ; } return dateTimeField ; }
Convert ZonedDateTime to a DateTimeField
 @param dateTimeField
 @param dateTime
 @return
Convert ZonedDateTime to a DateTimeField @param dateTimeField @param dateTime @return