public class ValueSupport extends Object
Modifier and Type | Field and Description |
---|---|
static Value |
EMPTY_STR_VAL |
static Value |
FALSE_VAL |
static Value |
NEG_ONE_VAL |
static Value |
NULL_VAL |
static Value |
ONE_VAL |
static Value |
TRUE_VAL |
static Value |
ZERO_D_VAL |
static Value |
ZERO_VAL |
Modifier and Type | Method and Description |
---|---|
static DateTimeFormatter |
getDateFormatForType(LocaleContext ctx,
Value.Type type) |
static Value.Type |
getDateTimeType(LocalDateTime ldt) |
static Value |
toValue(BigDecimal s) |
static Value |
toValue(boolean b) |
static Value |
toValue(double s) |
static Value |
toValue(Double s) |
static Value |
toValue(float f) |
static Value |
toValue(int i) |
static Value |
toValue(Integer i) |
static Value |
toValue(LocalDate ld) |
static Value |
toValue(LocalDateTime ldt) |
static Value |
toValue(LocalTime lt) |
static Value |
toValue(String s) |
static Value |
toValue(Value.Type type,
LocalDateTime ldt) |
public static final Value NULL_VAL
public static final Value TRUE_VAL
public static final Value FALSE_VAL
public static final Value EMPTY_STR_VAL
public static final Value ZERO_VAL
public static final Value NEG_ONE_VAL
public static final Value ONE_VAL
public static final Value ZERO_D_VAL
public static Value toValue(boolean b)
public static Value toValue(int i)
public static Value toValue(float f)
public static Value toValue(double s)
public static Value toValue(BigDecimal s)
public static Value toValue(LocalDateTime ldt)
public static Value.Type getDateTimeType(LocalDateTime ldt)
public static Value toValue(Value.Type type, LocalDateTime ldt)
public static DateTimeFormatter getDateFormatForType(LocaleContext ctx, Value.Type type)
Copyright © 2005–2024 OpenHMS. All rights reserved.