| Modifier and Type | Field and Description |
|---|---|
| private Timestamp | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| public static final Integer |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ValueVisitor
will have one of its visitor)visit methods called.Implements abstract com. Implements com. Entry point for visitor pattern. |
| public IonTimestampLite | clone()
Implements abstract com. Implements com. Creates a copy of this value and all of its children. |
| public Date | dateValue()
Implements com. Gets the value of this Ion |
| public BigDecimal | getDecimalMillis()
Implements com. Gets the value of this Ion |
| private Integer | |
| public Integer | getLocalOffset()
Implements com. Gets the local offset (in minutes) of this timestamp, or |
| public long | getMillis()
Implements com. Gets the value of this Ion |
| public IonType | |
| pack-priv int | |
| public void | makeNull()
Implements com. Sets this timestamp to Ion |
| pack-priv int | scalarHashCode()
Implements abstract com. Internal HashCode implementation to be overridden by scalar subclasses. |
| public void | setCurrentTime()
Implements com. Sets the time portion of this timestamp to the current time, leaving the local offset portion unchanged. |
| public void | setCurrentTimeUtc()
Implements com. Sets the time portion of this timestamp to the current time, and the local offset portion to UTC. |
| public void | setDecimalMillis(BigDecimal
the number of milliseconds since 1970-01-01T00:00:00Z to
be represented by this timestamp. millis)Implements com. Sets this timestamp to represent the point in time that is
|
| public void | setLocalOffset(int
is the new local offset, in minutes. Zero indicates UTC. minutes)Implements com. Sets the local-offset portion of this timestamp. |
| public void | setLocalOffset(Integer
is the new local offset, in minutes. Zero indicates UTC.
minutes)null indicates the unknown offset (-00:00).Implements com. Sets the local-offset portion of this timestamp. |
| public void | setMillis(long
the number of milliseconds since 1970-01-01T00:00:00Z to
be represented by this timestamp. millis)Implements com. Sets this timestamp to represent the point in time that is
|
| public void | setMillisUtc(long
the number of milliseconds since 1970-01-01T00:00:00Z to
be represented by this timestamp. millis)Implements com. Sets this timestamp to represent the point in time that is
|
| public void | setTime(Date
will be copied into this element. If null then this
becomes value)null.timestamp.Implements com. Sets the time portion of this timestamp. |
| public void | setValue(Timestamp
may be timestamp)null to cause this to be
null.timestamp.Implements com. Sets the value of this |
| public void | setValue(BigDecimal
the number of milliseconds since 1970-01-01T00:00:00Z to
be represented by this timestamp. millis, Integer the local offset of this timestamp, in minutes. Zero
indicates UTC. localOffset)null indicates the unknown
offset (-00:00).Implements com. Sets this timestamp to represent the point in time that is
|
| public void | setValue(long
the number of milliseconds since 1970-01-01T00:00:00Z to
be represented by this timestamp. millis, Integer the local offset of this timestamp, in minutes. Zero
indicates UTC. localOffset)null indicates the unknown
offset (-00:00).Implements com. Sets this timestamp to represent the point in time that is
|
| pack-priv IonValueLite | shallowClone(IonContext
the context applicable to the value's parent. context)Implements abstract com. Clones the value's annotations and field name (if any). |
| public Timestamp | timestampValue()
Implements com. Gets the value of this |
| pack-priv final void | writeBodyTo(IonWriter
an IonWriter. writer, _Private_IonValue.a SymbolTableProvider. symbolTableProviderImplements abstract com. Writes a *non-null scalar* value to the given writer. |
| _timestamp_value | back to summary |
|---|---|
| private Timestamp _timestamp_value | |
| BIT_FLAG_DAY | back to summary |
|---|---|
| private static final int BIT_FLAG_DAY | |
| BIT_FLAG_FRACTION | back to summary |
|---|---|
| private static final int BIT_FLAG_FRACTION | |
| BIT_FLAG_MINUTE | back to summary |
|---|---|
| private static final int BIT_FLAG_MINUTE | |
| BIT_FLAG_MONTH | back to summary |
|---|---|
| private static final int BIT_FLAG_MONTH | |
| BIT_FLAG_SECOND | back to summary |
|---|---|
| private static final int BIT_FLAG_SECOND | |
| BIT_FLAG_YEAR | back to summary |
|---|---|
| private static final int BIT_FLAG_YEAR | |
| HASH_SIGNATURE | back to summary |
|---|---|
| private static final int HASH_SIGNATURE | |
| UTC_OFFSET | back to summary |
|---|---|
| public static final Integer UTC_OFFSET | |
| IonTimestampLite | back to summary |
|---|---|
| pack-priv IonTimestampLite(ContainerlessContext context, boolean isNull) Constructs a | |
| IonTimestampLite | back to summary |
|---|---|
| pack-priv IonTimestampLite(IonTimestampLite existing, IonContext context) | |
| accept | back to summary |
|---|---|
| public void accept(ValueVisitor visitor) throws Exception Implements abstract com. Implements com. Doc from com. Entry point for visitor pattern. Implementations of this method by
concrete classes will simply call the appropriate
| |
| clone | back to summary |
|---|---|
| public IonTimestampLite clone() Implements abstract com. Implements com. Doc from com. Creates a copy of this value and all of its children. The cloned value
may use the same shared symbol tables, but it will have an independent local
symbol table if necessary. The cloned value will
be modifiable regardless of whether this instance
The cloned value will be created in the context of the same
| |
| dateValue | back to summary |
|---|---|
| public Date dateValue() Implements com. Doc from com. Gets the value of this Ion
Because
| |
| getDecimalMillis | back to summary |
|---|---|
| public BigDecimal getDecimalMillis() Implements com. Doc from com. Gets the value of this Ion
| |
| getInternalLocalOffset | back to summary |
|---|---|
| private Integer getInternalLocalOffset() Returns null if this is null.timestamp. | |
| getLocalOffset | back to summary |
|---|---|
| public Integer getLocalOffset() throws NullValueException Implements com. Doc from com. Gets the local offset (in minutes) of this timestamp, or
For example, the result for
| |
| getMillis | back to summary |
|---|---|
| public long getMillis() Implements com. Doc from com. Gets the value of this Ion
| |
| getTypeSlow | back to summary |
|---|---|
| public IonType getTypeSlow() Implements abstract com.
| |
| hashSignature | back to summary |
|---|---|
| pack-priv int hashSignature() Implements abstract com.
| |
| makeNull | back to summary |
|---|---|
| public void makeNull() Implements com. Doc from com. Sets this timestamp to Ion | |
| scalarHashCode | back to summary |
|---|---|
| pack-priv int scalarHashCode() Implements abstract com. Doc from com. Internal HashCode implementation to be overridden by scalar subclasses. Must only be called on non-null values.
| |
| setCurrentTime | back to summary |
|---|---|
| public void setCurrentTime() Implements com. Doc from com. Sets the time portion of this timestamp to the current time, leaving the local offset portion unchanged.
If | |
| setCurrentTimeUtc | back to summary |
|---|---|
| public void setCurrentTimeUtc() Implements com. Doc from com. Sets the time portion of this timestamp to the current time, and the local offset portion to UTC. | |
| setDecimalMillis | back to summary |
|---|---|
| public void setDecimalMillis(BigDecimal millis) Implements com. Doc from com. Sets this timestamp to represent the point in time that is
If this is
| |
| setLocalOffset | back to summary |
|---|---|
| public void setLocalOffset(int minutes) throws NullValueException Implements com. Doc from com. Sets the local-offset portion of this timestamp. The time portion is
not changed. Note that this method cannot set the unknown offset
(
| |
| setLocalOffset | back to summary |
|---|---|
| public void setLocalOffset(Integer minutes) throws NullValueException Implements com. Doc from com. Sets the local-offset portion of this timestamp. The time portion is not changed.
| |
| setMillis | back to summary |
|---|---|
| public void setMillis(long millis) Implements com. Doc from com. Sets this timestamp to represent the point in time that is
If this is
| |
| setMillisUtc | back to summary |
|---|---|
| public void setMillisUtc(long millis) Implements com. Doc from com. Sets this timestamp to represent the point in time that is
| |
| setTime | back to summary |
|---|---|
| public void setTime(Date value) Implements com. Doc from com. Sets the time portion of this timestamp.
If
| |
| setValue | back to summary |
|---|---|
| public void setValue(Timestamp timestamp) Implements com. Doc from com. Sets the value of this
| |
| setValue | back to summary |
|---|---|
| public void setValue(BigDecimal millis, Integer localOffset) Implements com. Doc from com. Sets this timestamp to represent the point in time that is
| |
| setValue | back to summary |
|---|---|
| public void setValue(long millis, Integer localOffset) Implements com. Doc from com. Sets this timestamp to represent the point in time that is
| |
| shallowClone | back to summary |
|---|---|
| pack-priv IonValueLite shallowClone(IonContext context) Implements abstract com. Doc from com. Clones the value's annotations and field name (if any). For scalars, also clones the value. For containers, leaves the cloned container empty rather than cloning the children.
| |
| timestampValue | back to summary |
|---|---|
| public Timestamp timestampValue() Implements com. Doc from com. Gets the value of this
| |
| writeBodyTo | back to summary |
|---|---|
| pack-priv final void writeBodyTo(IonWriter writer, _Private_IonValue. Implements abstract com. Doc from com. Writes a *non-null scalar* value to the given writer. It is incorrect to call this method on a container value.
| |