toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.time
/
PatternTimeFormat
Pattern
Time
Format
data
class
PatternTimeFormat
(
val
format
:
String
,
val
options
:
PatternTimeFormat.Options
=
Options.DEFAULT
)
:
TimeFormat
,
Serializable
Members
Members & Extensions
Constructors
Pattern
Time
Format
Link copied to clipboard
constructor
(
format
:
String
,
options
:
PatternTimeFormat.Options
=
Options.DEFAULT
)
Types
Companion
Link copied to clipboard
object
Companion
Options
Link copied to clipboard
data
class
Options
(
val
optionalSupport
:
Boolean
=
false
)
:
Serializable
Properties
format
Link copied to clipboard
val
format
:
String
options
Link copied to clipboard
val
options
:
PatternTimeFormat.Options
Functions
format
Link copied to clipboard
open
override
fun
format
(
dd
:
TimeSpan
)
:
String
format
Link copied to clipboard
fun
TimeFormat
.
format
(
time
:
Time
)
:
String
fun
TimeFormat
.
format
(
time
:
Double
)
:
String
fun
TimeFormat
.
format
(
time
:
Long
)
:
String
parse
Link copied to clipboard
fun
TimeFormat
.
parse
(
str
:
String
,
doAdjust
:
Boolean
=
true
)
:
TimeSpan
parse
Time
Link copied to clipboard
fun
TimeFormat
.
parseTime
(
str
:
String
)
:
Time
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
try
Parse
Link copied to clipboard
open
override
fun
tryParse
(
str
:
String
,
doThrow
:
Boolean
,
doAdjust
:
Boolean
)
:
TimeSpan
?
with
Non
Optional
Link copied to clipboard
fun
withNonOptional
(
)
:
PatternTimeFormat
with
Optional
Link copied to clipboard
fun
withOptional
(
)
:
PatternTimeFormat
with
Options
Link copied to clipboard
fun
withOptions
(
options
:
PatternTimeFormat.Options
)
:
PatternTimeFormat