toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.time
/
ISO8601
/
BaseIsoDateTimeFormat
Base
Iso
Date
Time
Format
data
class
BaseIsoDateTimeFormat
(
val
format
:
String
,
val
twoDigitBaseYear
:
Int
=
1900
)
:
DateFormat
Members
Members & Extensions
Constructors
Base
Iso
Date
Time
Format
Link copied to clipboard
constructor
(
format
:
String
,
twoDigitBaseYear
:
Int
=
1900
)
Properties
format
Link copied to clipboard
val
format
:
String
two
Digit
Base
Year
Link copied to clipboard
val
twoDigitBaseYear
:
Int
=
1900
Functions
format
Link copied to clipboard
open
override
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
open
override
fun
tryParse
(
str
:
String
,
doThrow
:
Boolean
,
doAdjust
:
Boolean
)
:
DateTimeTz
?
with
Two
Digit
Base
Year
Link copied to clipboard
fun
withTwoDigitBaseYear
(
twoDigitBaseYear
:
Int
=
1900
)
:
ISO8601.BaseIsoDateTimeFormat