fluid-api/src/main/java/com/fluidbpm/program/api/vo/field/Field.java
@XmlTransient
	public Date getFieldValueAsDate() {
		Object obj = this.getFieldValue();
		if(obj == null) {
			return null;
		}

		//Real Date...
		if(obj instanceof Date) {
			return (Date)obj;
		}
		//Long...
		else if(obj instanceof Long) {
			Long longValue = (Long)obj;
			if(longValue.longValue() > 0) {
				return new Date(longValue.longValue());
			}
		}

		return null;
	}
@XmlTransient
	public Date getFieldValueAsDate() {
		Object obj = this.getFieldValue();
		if(obj == null) {
			return null;
		}

		//Real Date...
		if(obj instanceof Date) {
			return (Date)obj;
		}
		//Long...
		else if(obj instanceof Long) {
			Long longValue = (Long)obj;
			if(longValue.longValue() > 0) {
				return new Date(longValue.longValue());
			}
		}

		return null;
	}
@ XmlTransient public Date getFieldValueAsDate ( ) { Object obj = this . getFieldValue ( ) ; if ( obj == null ) { return null ; } //Real Date... if ( obj instanceof Date ) { return ( Date ) obj ; } //Long... else if ( obj instanceof Long ) { Long longValue = ( Long ) obj ; if ( longValue . longValue ( ) > 0 ) { return new Date ( longValue . longValue ( ) ) ; } } return null ; }
Gets the value of {@code this} {@code Field} as a {@code Date}.

@return The Field Value.

@see Type
Gets the value of { @code this } { @code Field } as a { @code Date } .