FormatValue formatValueToSet = new DateTimeFormatValue( ); formatValueToSet.setPattern( format ); rule.setProperty( HighlightRule.DATE_TIME_FORMAT_MEMBER, formatValueToSet );
Object value = rule.getProperty( null, HighlightRule.DATE_TIME_FORMAT_MEMBER ); if ( value == null ) { FormatValue formatValueToSet = new DateTimeFormatValue( ); formatValueToSet.setPattern( format ); rule.setProperty( HighlightRule.DATE_TIME_FORMAT_MEMBER, formatValueToSet ); } else { assert value instanceof DateTimeFormatValue;  ( (DateTimeFormatValue) value ).setPattern( format ); }
	public void setDateTimeFormat( String format )	{		FormatValue formatValueToSet = new DateTimeFormatValue( );		formatValueToSet.setPattern( format );		rule.setProperty( HighlightRule.DATE_TIME_FORMAT_MEMBER,				formatValueToSet );	}