putAttrDate

open fun putAttrDate(attrName: String, attrValue: Date): PayloadBuilder

Add an Date attribute value to the payload Use Properties instead.

Return

PayloadBuilder instance

Parameters

attrName

The Event attribute name

attrValue

The Event attribute Value of type Date


open fun putAttrDate(attrName: String, dateString: String, dateFormat: String): PayloadBuilder

Add an Date attribute value to the payload Use Properties instead.

Return

PayloadBuilder instance

Parameters

attrName

The Event attribute name

dateString

String representation of Date

dateFormat

Format of the date string which is being passed