microsoft-azure-storage/src/com/microsoft/azure/storage/table/TableQuery.java
public static String generateFilterCondition(String propertyName, String operation, final Date value) {
        return generateFilterCondition(propertyName, operation,
                Utility.getJavaISO8601Time(value), EdmType.DATE_TIME);
    }
public static String generateFilterCondition(String propertyName, String operation, final Date value) {
        return generateFilterCondition(propertyName, operation,
                Utility.getJavaISO8601Time(value), EdmType.DATE_TIME);
    }
Generates a property filter condition string for a <code>java.util.Date</code> value. Creates a formatted string to use in
a filter expression that uses the specified operation to compare the property with the value, formatted as a
datetime value, as in the following example:
<p>
<code>String condition = generateFilterCondition("FutureDate", QueryComparisons.GREATER_THAN, new Date());</code>
<p>
This statement sets <code>condition</code> to something like the following value:
<p>
<code>FutureDate gt datetime'2013-01-31T09:00:00'</code>

@param propertyName
A <code>String</code> which specifies the name of the property to compare.
@param operation
A <code>String</code> which specifies the comparison operator to use.
@param value
A <code>java.util.Date</code> which specifies the value to compare with the property.
@return
A <code>String</code> which represents the formatted filter condition.