OpenSearch/libs
Lee Hinman 8927081981
[7.x] Add TimeValue.toHumanReadableString() to allow specifyin… (#43545)
* Enhance TimeValue.toString() to allow specifying fractional values.

This enhances the `TimeValue` class to allow specifying the number of
truncated fractional decimals when calling `toString()`. The default
remains 1, however, more (or less, such as 0) can be specified to change
the output.

This commit also re-organizes some things in `TimeValue` such as putting
all the class variables near the top of the class, and moving the
constructors to the first methods in the class, in order to follow the
structure of our other code.

* Rename `toString(...)` to `toHumanReadableString(...)`
2019-06-25 14:06:23 -06:00
..
cli [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
core [7.x] Add TimeValue.toHumanReadableString() to allow specifyin… (#43545) 2019-06-25 14:06:23 -06:00
dissect Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
geo Geo: Add coerce support to libs/geo WKT parser (#43273) 2019-06-18 14:41:01 -04:00
grok Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
nio Move nio ip filter rule to be a channel handler (#43507) 2019-06-24 10:03:24 -06:00
plugin-classloader [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
secure-sm Eclipse libs projects setup fix (#42852) 2019-06-04 13:52:41 -07:00
ssl-config [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
x-content Remove unused mapStringsOrdered method (#42513) (#43585) 2019-06-25 20:43:38 +02:00
build.gradle [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00