Globals
Stimulsoft
System
DateOnly
Class DateOnly
Hierarchy
DateOnly
Index
Constructors
constructor
Accessors
day
month
year
max
Value
min
Value
now
Methods
subtract
to
Date
Time
toODate
to
String
from
Date
Time
parse
try
Parse
Constructors
constructor
new
Date
Only
(
dateTime
:
DateTime
)
:
DateOnly
Parameters
dateTime:
DateTime
Returns
DateOnly
Accessors
day
get
day
(
)
:
number
Returns
number
month
get
month
(
)
:
number
Returns
number
year
get
year
(
)
:
number
Returns
number
Static
max
Value
get
maxValue
(
)
:
DateOnly
Returns
DateOnly
Static
min
Value
get
minValue
(
)
:
DateOnly
Returns
DateOnly
Static
now
get
now
(
)
:
DateOnly
Returns
DateOnly
Methods
subtract
subtract
(
date
:
DateOnly
)
:
TimeSpan
Parameters
date:
DateOnly
Returns
TimeSpan
to
Date
Time
to
Date
Time
(
)
:
DateTime
Returns
DateTime
toODate
toODate
(
)
:
number
Returns
number
to
String
to
String
(
format
?:
string
)
:
string
Parameters
Default value
format:
string
= "d"
Returns
string
Static
from
Date
Time
from
Date
Time
(
dateTime
:
DateTime
)
:
DateOnly
Parameters
dateTime:
DateTime
Returns
DateOnly
Static
parse
parse
(
s
:
string
)
:
DateOnly
Parameters
s:
string
Returns
DateOnly
Static
try
Parse
try
Parse
(
s
:
string
, refResult
:
object
)
:
boolean
Parameters
s:
string
refResult:
object
ref
:
DateOnly
Returns
boolean
Globals
Sti
Options
Stimulsoft
Base
Blockly
Dashboard
Data
Designer
Report
System
Collections
Crypt
Data
Drawing
Globalization
IO
Internals
Text
Xml
Viewer
Date
Only
constructor
day
month
year
max
Value
min
Value
now
subtract
to
Date
Time
toODate
to
String
from
Date
Time
parse
try
Parse
Generated using
TypeDoc