Search
Preparing search index...
The search index is not available
js-value-object
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
js-value-object
DateValueObject
Class DateValueObject
Hierarchy
ValueObject
<
Date
>
DateValueObject
Index
Constructors
constructor
Properties
max
min
name
value
Accessors
is
Valid
Methods
is
Equal
or
Fail
to
String
validate
create
Constructors
Private
constructor
new
Date
Value
Object
(
props
:
IDateValueObjectProps
)
:
DateValueObject
Parameters
props:
IDateValueObjectProps
Returns
DateValueObject
Properties
Private
max
max
:
Date
Private
min
min
:
Date
Readonly
name
name
:
string
Readonly
value
value
:
Date
Accessors
is
Valid
get
isValid
(
)
:
boolean
Returns
boolean
Methods
is
Equal
is
Equal
(
vo
:
ValueObject
<
unknown
>
)
:
boolean
Parameters
vo:
ValueObject
<
unknown
>
Returns
boolean
or
Fail
or
Fail
(
)
:
DateValueObject
description
Throw exception if the value objects are invalid
Returns
DateValueObject
to
String
to
String
(
)
:
string
Returns
string
Protected
validate
validate
(
)
:
boolean
Returns
boolean
Static
create
create
(
props
:
IDateValueObjectProps
)
:
DateValueObject
Parameters
props:
IDateValueObjectProps
Returns
DateValueObject
Exports
Date
Value
Object
constructor
max
min
name
value
is
Valid
is
Equal
or
Fail
to
String
validate
create
Generated using
TypeDoc
Throw exception if the value objects are invalid