code: public static DateTime translateFromUI(final Object _value)
          throws EFapsException
      {
          final DateTime ret;
          // reads the Value from "Admin_Common_DataBaseTimeZone"
          final String timezoneID = EFapsSystemConfiguration.get() == null ? DateTimeZone.getDefault().getID()
              : EFapsSystemConfiguration.get().getAttributeValue(KernelSettings.DBTIMEZONE);
          final ISOChronology chron;
          if (timezoneID != null) {
              final DateTimeZone timezone = DateTimeZone.forID(timezoneID);
              chron = ISOChronology.getInstance(timezone);
          } else {
              chron = ISOChronology.getInstanceUTC();
          }
          if (_value instanceof Date) {
              ret = new DateTime(_value).withChronology(chron);
          } else if (_value instanceof DateTime) {
              ret = ((DateTime) _value).withChronology(chron);
          } else if (_value instanceof String) {
              ret = ISODateTimeFormat.dateTime().parseDateTime((String) _value).withChronology(chron);
          } else if (_value instanceof java.time.LocalDate) {
              final java.time.LocalDate localDateTime = (java.time.LocalDate) _value;
              ret = new DateTime(localDateTime.getYear(), localDateTime.getMonthValue(),
                              localDateTime.getDayOfMonth(), 0, 0).withChronology(chron);
          } else if (_value instanceof java.time.LocalDateTime) {
              final java.time.LocalDateTime localDateTime = (java.time.LocalDateTime) _value;
              ret = new DateTime(localDateTime.getYear(), localDateTime.getMonthValue(), localDateTime.getDayOfMonth(),
                              localDateTime.getHour(), localDateTime.getMinute(), localDateTime.getSecond(),
                              localDateTime.getSecond()).withChronology(chron);
          } else  {
              ret = null;
          }
          return ret;
      }
docs: The value that can be set is a Date, a DateTime or a String
  yyyy-MM-dd'T'HH:mm:ss.SSSZZ. It will be normalized to ISO Calender with
  TimeZone from SystemAttribute Admin_Common_DataBaseTimeZone. In case
  that the SystemAttribute is missing UTC will be used.
  
  
  @param _value    value from user interface to translate
  @return translated date time
  @throws EFapsException on error