| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final double | |
| private static final double | |
| private static final Pattern | |
| private final String | |
| private static final double | |
| private final List | |
| private CellElapsedFormatter. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private CellElapsedFormatter. | |
| private static double | |
| public void | formatValue(StringBuffer
The buffer to append to. toAppendTo, Object The value to format. value)Implements abstract org. Format a value according the format string. |
| private static double | |
| public void | simpleValue(StringBuffer
The buffer to append to. toAppendTo, Object The value to format. value)Implements abstract org. Format a value according to the type, in the most basic way. |
| HOUR__FACTOR | back to summary |
|---|---|
| private static final double HOUR__FACTOR | |
| MIN__FACTOR | back to summary |
|---|---|
| private static final double MIN__FACTOR | |
| PERCENTS | back to summary |
|---|---|
| private static final Pattern PERCENTS | |
| printfFmt | back to summary |
|---|---|
| private final String printfFmt | |
| SEC__FACTOR | back to summary |
|---|---|
| private static final double SEC__FACTOR | |
| specs | back to summary |
|---|---|
| private final List<CellElapsedFormatter. | |
| topmost | back to summary |
|---|---|
| private CellElapsedFormatter. | |
| CellElapsedFormatter | back to summary |
|---|---|
| public CellElapsedFormatter(String pattern) Creates an elapsed time formatter.
| |
| assignSpec | back to summary |
|---|---|
| private CellElapsedFormatter. | |
| factorFor | back to summary |
|---|---|
| private static double factorFor(char type, int len) | |
| formatValue | back to summary |
|---|---|
| public void formatValue(StringBuffer toAppendTo, Object value) Implements abstract org. Doc from org. Format a value according the format string. Note this method must be thread safe! In particular, if it uses a Format instance that is not thread safe, i.e. DateFormat, this method must be synchronized, either on the method, if the format is a final property, or on the format instance itself.
| |
| modFor | back to summary |
|---|---|
| private static double modFor(char type, int len) | |
| simpleValue | back to summary |
|---|---|
| public void simpleValue(StringBuffer toAppendTo, Object value) Implements abstract org. Doc from org. Format a value according to the type, in the most basic way. Note this method must be thread safe! In particular, if it uses a Format instance that is not thread safe, i.e. DateFormat, this method must be synchronized, either on the method, if the format is a final property, or on the format instance itself.
For a date, this is
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | handlePart(Matcher m, String part, CellFormatType type, StringBuffer desc)
Implements org.
|
| ElapsedPartHandler | back to summary |
|---|---|
| private ElapsedPartHandler() | |
| handlePart | back to summary |
|---|---|
| public String handlePart(Matcher m, String part, CellFormatType type, StringBuffer desc) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final double | |
| pack-priv final int | |
| pack-priv double | |
| pack-priv final int | |
| pack-priv final char |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long |
| factor | back to summary |
|---|---|
| pack-priv final double factor | |
| len | back to summary |
|---|---|
| pack-priv final int len | |
| modBy | back to summary |
|---|---|
| pack-priv double modBy | |
| pos | back to summary |
|---|---|
| pack-priv final int pos | |
| type | back to summary |
|---|---|
| pack-priv final char type | |
| TimeSpec | back to summary |
|---|---|
| public TimeSpec(char type, int pos, int len, double factor) | |
| valueFor | back to summary |
|---|---|
| public long valueFor(double elapsed) | |