public synchronized final void setValue(final Date value) {
        this.edmType = EdmType.DATE_TIME;
        this.type = Date.class;
        this.value = value == null ? null : Utility.getJavaISO8601Time(value);
    }
public synchronized final void setValue(final Date value) {
        this.edmType = EdmType.DATE_TIME;
        this.type = Date.class;
        this.value = value == null ? null : Utility.getJavaISO8601Time(value);
    }
public synchronized final void setValue ( final Date value ) { this . edmType = EdmType . DATE_TIME ; this . type = Date . class ; this . value = value == null ? null : Utility . getJavaISO8601Time ( value ) ; }
Sets this {@link EntityProperty} using the serialized <code>java.util.Date</code> value.

@param value
The <code>java.util.Date</code> value to set as the {@link EntityProperty} value. This value may be
<code>null</code>.
Sets this { @link EntityProperty } using the serialized <code > java . util . Date< / code > value .