| 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 |
DurationFormatter.DEFAULT_FORMAT
The default
DurationFormat to be applied. |
| 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 String |
DurationFormatter.format(Duration duration,
DurationFormat format)
Returns a string representation of the given
Duration with a specific format. |
static String |
DurationFormatter.format(Duration duration,
DurationFormat format,
boolean printLegend)
Returns a string representation of the given
Duration with a specific format. |
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 |
|---|---|
DurationFormat |
PrintStyle.getDurationFormat()
Returns the format to be applied to all durations in the output.
|
| 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 © 2022. All rights reserved.