SetTimeStampWithTimeZone Method
SetTimeStampWithTimeZone(String, Nullable<HOffsetDateTime>)
Adds a TimeStampWithTimeZone field to the record.
Declaration
IGenericRecordBuilder SetTimeStampWithTimeZone(string fieldname, HOffsetDateTime? value)
Parameters
String | fieldname | The name of the field. |
Nullable<HOffsetDateTime> | value | The value of the field. |
Returns
IGenericRecordBuilder | This IGenericRecordBuilder. |
Remarks
It is legal to set the field again only when the builder is created with NewBuilderWithClone(); it is otherwise illegal to set to the same field twice.
Exceptions
SerializationException | The build has been initialized with a
schema, and |