APIdia Launch Partner
Top Fields Constructors Methods
io.github.spannm.jackcess.impl.expr

public Class DateTimeValue

extends BaseValue
Class Inheritance
Imports
io.github.spannm.jackcess.expr.LocaleContext, .Value, io.github.spannm.jackcess.impl.ColumnImpl, java.math.BigDecimal, java.time.LocalDateTime

Field Summary

Modifier and TypeField and Description
private final Value.Type
private final LocalDateTime

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
get()

Implements io.github.spannm.jackcess.expr.Value.get.

Returns the raw primitive value.

public BigDecimal
public boolean
public Value
getAsDateTimeValue(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsDateTimeValue.

Implements io.github.spannm.jackcess.expr.Value.getAsDateTimeValue.

Since date/time values have different types, it may be more convenient to get the date/time primitive value with the appropriate type information.

public Double
getAsDouble(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsDouble.

Implements io.github.spannm.jackcess.expr.Value.getAsDouble.

Returns this primitive value converted (rounded) to a double.

public LocalDateTime
public Integer
getAsLongInt(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsLongInt.

Implements io.github.spannm.jackcess.expr.Value.getAsLongInt.

Returns this primitive value converted (rounded) to an int.

public String
protected Double
public Value.Type
getType()

Implements io.github.spannm.jackcess.expr.Value.getType.

Returns the type of this value.

Inherited from io.github.spannm.jackcess.impl.expr.BaseValue:
invalidConversionisNullroundToLongInttoString

Field Detail

typeback to summary
private final Value.Type type
valback to summary
private final LocalDateTime val

Constructor Detail

DateTimeValueback to summary
public DateTimeValue(Value.Type _type, LocalDateTime _val)

Method Detail

getback to summary
public Object get()

Implements io.github.spannm.jackcess.expr.Value.get.

Doc from io.github.spannm.jackcess.expr.Value.get.

Returns the raw primitive value.

Annotations
@Override
getAsBigDecimalback to summary
public BigDecimal getAsBigDecimal(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsBigDecimal.

Implements io.github.spannm.jackcess.expr.Value.getAsBigDecimal.

Doc from io.github.spannm.jackcess.expr.Value.getAsBigDecimal.

Returns this primitive value converted to a BigDecimal.

Annotations
@Override
getAsBooleanback to summary
public boolean getAsBoolean(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsBoolean.

Implements io.github.spannm.jackcess.expr.Value.getAsBoolean.

Doc from io.github.spannm.jackcess.expr.Value.getAsBoolean.

Returns this primitive value converted to a boolean.

Annotations
@Override
getAsDateTimeValueback to summary
public Value getAsDateTimeValue(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsDateTimeValue.

Implements io.github.spannm.jackcess.expr.Value.getAsDateTimeValue.

Doc from io.github.spannm.jackcess.expr.Value.getAsDateTimeValue.

Since date/time values have different types, it may be more convenient to get the date/time primitive value with the appropriate type information.

Annotations
@Override
getAsDoubleback to summary
public Double getAsDouble(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsDouble.

Implements io.github.spannm.jackcess.expr.Value.getAsDouble.

Doc from io.github.spannm.jackcess.expr.Value.getAsDouble.

Returns this primitive value converted (rounded) to a double.

Annotations
@Override
getAsLocalDateTimeback to summary
public LocalDateTime getAsLocalDateTime(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsLocalDateTime.

Implements io.github.spannm.jackcess.expr.Value.getAsLocalDateTime.

Doc from io.github.spannm.jackcess.expr.Value.getAsLocalDateTime.

Returns this primitive value converted to a LocalDateTime.

Annotations
@Override
getAsLongIntback to summary
public Integer getAsLongInt(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsLongInt.

Implements io.github.spannm.jackcess.expr.Value.getAsLongInt.

Doc from io.github.spannm.jackcess.expr.Value.getAsLongInt.

Returns this primitive value converted (rounded) to an int.

Annotations
@Override
getAsStringback to summary
public String getAsString(LocaleContext ctx)

Overrides io.github.spannm.jackcess.impl.expr.BaseValue.getAsString.

Implements io.github.spannm.jackcess.expr.Value.getAsString.

Doc from io.github.spannm.jackcess.expr.Value.getAsString.

Returns this primitive value converted to a String.

Annotations
@Override
getNumberback to summary
protected Double getNumber()
getTypeback to summary
public Value.Type getType()

Implements io.github.spannm.jackcess.expr.Value.getType.

Doc from io.github.spannm.jackcess.expr.Value.getType.

Returns the type of this value.

Annotations
@Override