toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.time
/
DateFormat
Date
Format
interface
DateFormat
Allows to
format
and
parse
instances of
Date
,
DateTime
and
DateTimeTz
Inheritors
BaseIsoDateTimeFormat
IsoDateTimeFormat
PatternDateFormat
Members
Members & Extensions
Types
Companion
Link copied to clipboard
object
Companion
Functions
format
Link copied to clipboard
abstract
fun
format
(
dd
:
DateTimeTz
)
:
String
format
Link copied to clipboard
fun
DateFormat
.
format
(
dd
:
Date
)
:
String
fun
DateFormat
.
format
(
dd
:
DateTime
)
:
String
fun
DateFormat
.
format
(
date
:
Double
)
:
String
fun
DateFormat
.
format
(
date
:
Long
)
:
String
parse
Link copied to clipboard
fun
DateFormat
.
parse
(
str
:
String
,
doAdjust
:
Boolean
=
true
)
:
DateTimeTz
parse
Date
Link copied to clipboard
fun
DateFormat
.
parseDate
(
str
:
String
)
:
Date
parse
Local
Link copied to clipboard
fun
DateFormat
.
parseLocal
(
str
:
String
)
:
DateTime
parse
Utc
Link copied to clipboard
fun
DateFormat
.
parseUtc
(
str
:
String
)
:
DateTime
try
Parse
Link copied to clipboard
abstract
fun
tryParse
(
str
:
String
,
doThrow
:
Boolean
=
false
,
doAdjust
:
Boolean
=
true
)
:
DateTimeTz
?