Class FormatUtil
- java.lang.Object
-
- com.healthmarketscience.jackcess.impl.expr.FormatUtil
-
public class FormatUtil extends Object
- Author:
- James Ahlborn
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormatUtil.NumPatternTypestatic classFormatUtil.StandaloneFormatterUtility for leveraging format support outside of expression evaluation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringcreateNumberFormatPattern(FormatUtil.NumPatternType numPatType, int numDecDigits, boolean incLeadDigit, boolean negParens, int numGroupDigits)static FormatUtil.StandaloneFormattercreateStandaloneFormatter(EvalContext ctx, String fmtStr, int firstDay, int firstWeekType)static Valueformat(EvalContext ctx, Value expr, String fmtStr, int firstDay, int firstWeekType)
-
-
-
Method Detail
-
format
public static Value format(EvalContext ctx, Value expr, String fmtStr, int firstDay, int firstWeekType)
-
createStandaloneFormatter
public static FormatUtil.StandaloneFormatter createStandaloneFormatter(EvalContext ctx, String fmtStr, int firstDay, int firstWeekType)
-
createNumberFormatPattern
public static String createNumberFormatPattern(FormatUtil.NumPatternType numPatType, int numDecDigits, boolean incLeadDigit, boolean negParens, int numGroupDigits)
-
-