setDateAttribute method
- String name,
- DateTime value
Adds a date attribute.
Implementation
void setDateAttribute(String name, DateTime value) {
operations.add({
ATTRIBUTE_OPERATION_TYPE: ATTRIBUTE_OPERATION_SET,
ATTRIBUTE_OPERATION_KEY: name,
ATTRIBUTE_OPERATION_VALUE: value.millisecondsSinceEpoch,
ATTRIBUTE_OPERATION_VALUE_TYPE: "date"
});
}