Package cloud.metaapi.sdk.clients.models
Class IsoTime
- java.lang.Object
-
- cloud.metaapi.sdk.clients.models.IsoTime
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetDate()Returns wrapper time asDateobjectStringgetIsoString()Returns wrapper time in ISO formatvoidsetTime(String isoTime)Sets wrapper time from ISO format timevoidsetTime(Date date)Sets wrapper time fromDateobjectStringtoString()Represents the wrapper as ISO format time string
-
-
-
Method Detail
-
setTime
public void setTime(String isoTime)
Sets wrapper time from ISO format time- Parameters:
isoTime- ISO format time
-
setTime
public void setTime(Date date)
Sets wrapper time fromDateobject- Parameters:
date- date object
-
getIsoString
public String getIsoString()
Returns wrapper time in ISO format- Returns:
- ISO format time
-
-