/**
  * A static method which will create a LocalDateTimeField for LocalDateTime.
  *
  * @param initialValue the initial value.
  * @return a LocalDateTimeField for the LocalDateTime.
  */
 public static LocalDateTimeField createLocalDateTimeField(LocalDateTime initialValue) {
   LocalDateTimeField field = new LocalDateTimeField();
   field.setValue(initialValue);
   return field;
 }
 /**
  * A static method which will create a LocalDateTimeField for LocalDateTime.
  *
  * @param dateFormat the format string as defined in {@link SimpleDateFormat}.
  * @param initialValue the initial value.
  * @return a LocalDateTimeField for the LocalDateTime.
  */
 public static LocalDateTimeField createLocalDateTimeField(
     String dateFormat, LocalDateTime initialValue) {
   LocalDateTimeField field = new LocalDateTimeField(dateFormat);
   field.setValue(initialValue);
   return field;
 }