public class GeneralFormatter
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
MAX_DAYS |
|
static int |
MAX_HOURS |
|
static int |
MAX_MILLISECONDS |
|
static int |
MAX_MINUTES |
|
static int |
MAX_SECONDS |
|
static int |
MAX_WEEKS |
These statics represent switches for the visual formatting of the
time frame.
|
Constructor | Description |
---|---|
GeneralFormatter() |
Modifier and Type | Method | Description |
---|---|---|
static void |
appendDayType(java.lang.StringBuffer str,
double total,
boolean shorthand) |
|
static void |
appendHourType(java.lang.StringBuffer str,
double total,
boolean shorthand) |
|
static void |
appendMinuteType(java.lang.StringBuffer str,
double total,
boolean shorthand) |
|
static void |
appendWeekType(java.lang.StringBuffer str,
double total,
boolean shorthand) |
Appends time frame representation information into the given StringBuffer
for various types of visual time frame formats.
|
public static final int MAX_WEEKS
public static final int MAX_DAYS
public static final int MAX_HOURS
public static final int MAX_MINUTES
public static final int MAX_SECONDS
public static final int MAX_MILLISECONDS
public static void appendWeekType(java.lang.StringBuffer str, double total, boolean shorthand)
public static void appendDayType(java.lang.StringBuffer str, double total, boolean shorthand)
public static void appendHourType(java.lang.StringBuffer str, double total, boolean shorthand)
public static void appendMinuteType(java.lang.StringBuffer str, double total, boolean shorthand)
Copyright © 2018. All rights reserved.