Skip to content

Class.DateOnly

github-actions[bot] edited this page Jan 7, 2025 · 12 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:18


create()

static create(date): DateOnly

Parameters

date

string

Returns

DateOnly

Defined in

valueObject/DateOnly.ts:11

Clone this wiki locally