| Package | Description |
|---|---|
| net.obvj.performetrics.util |
Provides utility classes in general.
|
| net.obvj.performetrics.util.print |
Provides classes for printing stopwatch data.
|
| Modifier and Type | Field and Description |
|---|---|
static DurationFormat |
Duration.DEFAULT_FORMAT
The default
DurationFormat to be applied by Duration.toString() and
Duration.parse(String) operations, if no format is specified. |
| Modifier and Type | Method and Description |
|---|---|
static DurationFormat |
DurationFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DurationFormat[] |
DurationFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Duration |
Duration.parse(String string,
DurationFormat format)
Obtains a
Duration from a string in a specific DurationFormat. |
String |
Duration.toString(DurationFormat format)
Returns a string representation of this
Duration with a specific format. |
String |
Duration.toString(DurationFormat format,
boolean printLegend)
Returns a string representation of this
Duration with a specific format. |
| Modifier and Type | Method and Description |
|---|---|
PrintStyleBuilder |
PrintStyleBuilder.withDurationFormat(DurationFormat format)
Defines the
DurationFormat to be applied on all rows containing a time
duration. |
Copyright © 2023. All rights reserved.