public class TimestrHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
compact |
protected int |
days |
protected int |
hours |
protected int |
millis |
protected int |
mins |
protected List<String> |
ret |
protected int |
secs |
protected String |
sign |
| Constructor and Description |
|---|
TimestrHelper(double double_secs) |
TimestrHelper(double double_secs,
boolean compact) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addItem(int value,
String compactSuffix,
String longSuffix) |
protected int |
doubleSecsToMillis(double double_secs) |
protected int |
doubleSecsToSecs(double double_secs) |
String |
getValue() |
protected String |
pluralOrNot(int value) |
protected void |
secsToComponents(double double_secs) |
protected boolean compact
protected String sign
protected int millis
protected int secs
protected int mins
protected int hours
protected int days
public TimestrHelper(double double_secs)
public TimestrHelper(double double_secs,
boolean compact)
public String getValue()
protected int doubleSecsToSecs(double double_secs)
protected int doubleSecsToMillis(double double_secs)
protected void secsToComponents(double double_secs)
protected String pluralOrNot(int value)
Copyright © 2014. All rights reserved.