public class FormatUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FormatUtil.NumPatternType |
static class |
FormatUtil.StandaloneFormatter
Utility for leveraging format support outside of expression evaluation.
|
Modifier and Type | Method and Description |
---|---|
static String |
createNumberFormatPattern(FormatUtil.NumPatternType numPatType,
int numDecDigits,
boolean incLeadDigit,
boolean negParens,
int numGroupDigits) |
static FormatUtil.StandaloneFormatter |
createStandaloneFormatter(EvalContext ctx,
String fmtStr,
int firstDay,
int firstWeekType) |
static Value |
format(EvalContext ctx,
Value expr,
String fmtStr,
int firstDay,
int firstWeekType) |
public static Value format(EvalContext ctx, Value expr, String fmtStr, int firstDay, int firstWeekType)
public static FormatUtil.StandaloneFormatter createStandaloneFormatter(EvalContext ctx, String fmtStr, int firstDay, int firstWeekType)
public static String createNumberFormatPattern(FormatUtil.NumPatternType numPatType, int numDecDigits, boolean incLeadDigit, boolean negParens, int numGroupDigits)
Copyright © 2005–2024 OpenHMS. All rights reserved.