Skip to main content

@bloock/sdk / DateAttribute

Class: DateAttribute

Represents an attribute with a date value, including its key and formatted value.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DateAttribute(id, value): DateAttribute

Constructs a Attribute object with the specified parameters.

Parameters

NameType
idstring
valueDate

Returns

DateAttribute

Inherited from

Attribute.constructor

Defined in

entity/identity/attribute.ts:13

Properties

id

id: string

Inherited from

Attribute.id

Defined in

entity/identity/attribute.ts:5


value

value: Date

Inherited from

Attribute.value

Defined in

entity/identity/attribute.ts:6

Methods

toProto

toProto(): DateAttribute

Returns

DateAttribute

Defined in

entity/identity/date_attribute.ts:8


fromProto

fromProto(r): DateAttribute

Parameters

NameType
rDateAttribute

Returns

DateAttribute

Defined in

entity/identity/date_attribute.ts:15