Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/time
DayOfMonthFormat
Class DayOfMonthFormat
Hierarchy
DateTimeFormat
DayOfMonthFormat
Index
Constructors
constructor
Accessors
day
OfMonth
hour12
hour24
iso8601
millisecond
minute
month
month
OfYear
period
second
short
Month
short
Weekday
weekday
year
Methods
format
parse
parse
Date
parse
Date
Time
with
Locale
write
Date
parse
Date
Number
parse
Date
String
pattern
write
Date
Number2
write
Date
Number3
write
Date
Number4
Constructors
constructor
new
Day
OfMonth
Format
(
)
:
DayOfMonthFormat
Returns
DayOfMonthFormat
Accessors
Static
day
OfMonth
get
dayOfMonth
(
)
:
DayOfMonthFormat
Returns
DayOfMonthFormat
Static
hour12
get
hour12
(
)
:
Hour12Format
Returns
Hour12Format
Static
hour24
get
hour24
(
)
:
Hour24Format
Returns
Hour24Format
Static
iso8601
get
iso8601
(
)
:
DateTimeFormat
Returns
DateTimeFormat
Static
millisecond
get
millisecond
(
)
:
YearFormat
Returns
YearFormat
Static
minute
get
minute
(
)
:
MinuteFormat
Returns
MinuteFormat
Static
month
get
month
(
)
:
MonthFormat
Returns
MonthFormat
Static
month
OfYear
get
monthOfYear
(
)
:
MonthOfYearFormat
Returns
MonthOfYearFormat
Static
period
get
period
(
)
:
PeriodFormat
Returns
PeriodFormat
Static
second
get
second
(
)
:
SecondFormat
Returns
SecondFormat
Static
short
Month
get
shortMonth
(
)
:
ShortMonthFormat
Returns
ShortMonthFormat
Static
short
Weekday
get
shortWeekday
(
)
:
ShortWeekdayFormat
Returns
ShortWeekdayFormat
Static
weekday
get
weekday
(
)
:
WeekdayFormat
Returns
WeekdayFormat
Static
year
get
year
(
)
:
YearFormat
Returns
YearFormat
Methods
format
format
(
date
:
AnyDateTime
)
:
string
Parameters
date:
AnyDateTime
Returns
string
parse
parse
(
input
:
string
|
Input
)
:
DateTime
Parameters
input:
string
|
Input
Returns
DateTime
parse
Date
parse
Date
(
input
:
Input
, date
:
DateTimeInit
)
:
Parser
<
DateTime
>
Parameters
input:
Input
date:
DateTimeInit
Returns
Parser
<
DateTime
>
parse
Date
Time
parse
Date
Time
(
input
:
Input
, date
:
DateTimeInit
)
:
Parser
<
DateTimeInit
>
Parameters
input:
Input
date:
DateTimeInit
Returns
Parser
<
DateTimeInit
>
with
Locale
with
Locale
(
locale
:
DateTimeLocale
)
:
DateTimeFormat
Parameters
locale:
DateTimeLocale
Returns
DateTimeFormat
write
Date
write
Date
(
date
:
DateTime
, output
:
Output
<
unknown
>
)
:
void
Parameters
date:
DateTime
output:
Output
<
unknown
>
Returns
void
Static
parse
Date
Number
parse
Date
Number
(
input
:
Input
, factory
:
DateNumberFactory
, desc
:
string
, minDigits
:
number
, maxDigits
:
number
, date
:
undefined
|
DateTimeInit
, value
?:
number
, step
?:
number
)
:
Parser
<
DateTimeInit
>
Parameters
input:
Input
factory:
DateNumberFactory
desc:
string
minDigits:
number
maxDigits:
number
date:
undefined
|
DateTimeInit
Optional
value:
number
Optional
step:
number
Returns
Parser
<
DateTimeInit
>
Static
parse
Date
String
parse
Date
String
(
input
:
Input
, factory
:
DateStringFactory
, locale
:
DateTimeLocale
, date
?:
DateTimeInit
, output
?:
Output
<
string
>
)
:
Parser
<
DateTimeInit
>
Parameters
input:
Input
factory:
DateStringFactory
locale:
DateTimeLocale
Optional
date:
DateTimeInit
Optional
output:
Output
<
string
>
Returns
Parser
<
DateTimeInit
>
Static
pattern
pattern
(
pattern
:
string
, specifiers
?:
DateTimeLocale
|
DateTimeSpecifiers
)
:
PatternFormat
Parameters
pattern:
string
Optional
specifiers:
DateTimeLocale
|
DateTimeSpecifiers
Returns
PatternFormat
Static
write
Date
Number2
write
Date
Number2
(
value
:
number
, output
:
Output
<
unknown
>
)
:
void
Parameters
value:
number
output:
Output
<
unknown
>
Returns
void
Static
write
Date
Number3
write
Date
Number3
(
value
:
number
, output
:
Output
<
unknown
>
)
:
void
Parameters
value:
number
output:
Output
<
unknown
>
Returns
void
Static
write
Date
Number4
write
Date
Number4
(
value
:
number
, output
:
Output
<
unknown
>
)
:
void
Parameters
value:
number
output:
Output
<
unknown
>
Returns
void
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Day
OfMonth
Format
constructor
day
OfMonth
hour12
hour24
iso8601
millisecond
minute
month
month
OfYear
period
second
short
Month
short
Weekday
weekday
year
format
parse
parse
Date
parse
Date
Time
with
Locale
write
Date
parse
Date
Number
parse
Date
String
pattern
write
Date
Number2
write
Date
Number3
write
Date
Number4
Generated using
TypeDoc