Class DurationParser
java.lang.Object
com.cognite.client.servicesV1.util.DurationParser
This class helps parse duration (on the timeline) from the text-based Cognite api specification.
For example, the api allows duration to be specified as "2d" (2 days), "1h-ago" (1 hour ago) etc. This class will
translate such text into
Duration-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DurationParser.Builderbuilder()abstract DurationParser.Builder
-
Constructor Details
-
DurationParser
public DurationParser()
-
-
Method Details
-
builder
-
toBuilder
-
parseDuration
- Throws:
DateTimeException
-