|
xelem.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.fountain.xelem.XLUtil
public class XLUtil
A utility class for xelem.
| Method Summary | |
|---|---|
static String |
convertToHex(int r,
int g,
int b)
Converts rgb to a string. |
static String |
format(Date date)
Formats a Date into a Date-Time value used by SpreadsheetML. |
static Date |
parse(String dateString)
Parses a string in the DateTime format used by SpreadsheetML to a Date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String convertToHex(int r,
int g,
int b)
#ff00ba
r - the value of red (0 - 255)g - the value of green (0 - 255)b - the value of blue (0 - 255)
#
+ the two-digit hex-code for
r, g and b.public static String format(Date date)
date - The date to be formatted.
yyyy-MM-ddTHH:mm:ss.SSS.public static Date parse(String dateString)
dateString - the string to be parsed
ParseException - if the string could not be parsed
|
xelem.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||