| Constructor and Description |
|---|
IsoTime()
Constructs wrapper from current time
|
IsoTime(Date date)
Constructs wrapper from
Date object |
IsoTime(String isoTime)
Constructs wrapper from ISO time string
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate()
Returns wrapper time as
Date object |
String |
getIsoString()
Returns wrapper time in ISO format
|
void |
setTime(Date date)
Sets wrapper time from
Date object |
void |
setTime(String isoTime)
Sets wrapper time from ISO format time
|
String |
toString()
Represents the wrapper as ISO format time string
|
public IsoTime()
public IsoTime(String isoTime)
isoTime - ISO timepublic void setTime(String isoTime)
isoTime - ISO format timepublic void setTime(Date date)
Date objectdate - date objectpublic String getIsoString()
Copyright © 2021. All rights reserved.