Package in.succinct.beckn
Class Time
java.lang.Object
in.succinct.beckn.BecknAware<org.json.simple.JSONObject>
in.succinct.beckn.BecknObject
in.succinct.beckn.Time
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class in.succinct.beckn.BecknObject
DATE_FORMAT, TIMESTAMP_FORMAT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDays()java.time.DurationgetLabel()getRange()voidvoidsetDuration(java.time.Duration duration) voidvoidsetRange(Time.Range range) voidsetTimestamp(Date timestamp) Methods inherited from class in.succinct.beckn.BecknObject
get, get, get, get, getBoolean, getDate, getDouble, getInteger, getLong, set, set, set, set, set, set, setMethods inherited from class in.succinct.beckn.BecknAware
generateBlakeHash, getInner, hash, setInner, toString
-
Constructor Details
-
Time
public Time()
-
-
Method Details
-
getLabel
-
setLabel
-
getTimestamp
-
setTimestamp
-
getDuration
public java.time.Duration getDuration() -
setDuration
public void setDuration(java.time.Duration duration) -
getRange
-
setRange
-
getDays
-
setDays
-