Skip to content

Class.DateOnly

github-actions[bot] edited this page Dec 9, 2024 · 6 revisions

einvoicing / DateOnly

Class: DateOnly

Extends

Constructors

new DateOnly()

protected new DateOnly(props): DateOnly

Parameters

props
date

string

Returns

DateOnly

Inherited from

ValueObject.constructor

Defined in

base/ValueObject.ts:18

Properties

props

readonly props: object

date

date: string

Inherited from

ValueObject.props

Defined in

base/ValueObject.ts:16

Methods

equals()

equals(vo?): boolean

Parameters

vo?

ValueObject<{ date: string; }>

Returns

boolean

Inherited from

ValueObject.equals

Defined in

base/ValueObject.ts:22


toPrimitive()

toPrimitive(): string

Returns

string

Defined in

valueObject/DateOnly.ts:19


create()

static create(date): DateOnly

Parameters

date

string

Returns

DateOnly

Defined in

valueObject/DateOnly.ts:12

Clone this wiki locally