Value.Type| Constructor and Description |
|---|
DateTimeValue(Value.Type type,
LocalDateTime val) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get() |
BigDecimal |
getAsBigDecimal(LocaleContext ctx) |
boolean |
getAsBoolean(LocaleContext ctx) |
Value |
getAsDateTimeValue(LocaleContext ctx)
Since date/time values have different types, it may be more convenient to
get the date/time primitive value with the appropriate type information.
|
Double |
getAsDouble(LocaleContext ctx) |
LocalDateTime |
getAsLocalDateTime(LocaleContext ctx) |
Integer |
getAsLongInt(LocaleContext ctx) |
String |
getAsString(LocaleContext ctx) |
Value.Type |
getType() |
public DateTimeValue(Value.Type type, LocalDateTime val)
public Value.Type getType()
public Object get()
public boolean getAsBoolean(LocaleContext ctx)
getAsBoolean in interface ValuegetAsBoolean in class BaseValuepublic String getAsString(LocaleContext ctx)
getAsString in interface ValuegetAsString in class BaseValuepublic LocalDateTime getAsLocalDateTime(LocaleContext ctx)
getAsLocalDateTime in interface ValuegetAsLocalDateTime in class BaseValuepublic Value getAsDateTimeValue(LocaleContext ctx)
ValuegetAsDateTimeValue in interface ValuegetAsDateTimeValue in class BaseValuepublic Integer getAsLongInt(LocaleContext ctx)
getAsLongInt in interface ValuegetAsLongInt in class BaseValuepublic Double getAsDouble(LocaleContext ctx)
getAsDouble in interface ValuegetAsDouble in class BaseValuepublic BigDecimal getAsBigDecimal(LocaleContext ctx)
getAsBigDecimal in interface ValuegetAsBigDecimal in class BaseValueCopyright © 2005–2025 OpenHMS. All rights reserved.