/** * Returns null if this is null.timestamp. */ private Integer getInternalLocalOffset() { if (_isNullValue()) { return null; } return _timestamp_value.getLocalOffset(); }
public Integer getLocalOffset() throws NullValueException { if (_isNullValue()) { throw new NullValueException(); } return _timestamp_value.getLocalOffset(); }
/** * Returns a timestamp at the same point in time, but with the given local * offset. If this timestamp has precision coarser than minutes, then it * is returned unchanged since such timestamps always have an unknown * offset. */ public Timestamp withLocalOffset(Integer offset) { Precision precision = getPrecision(); if (precision.alwaysUnknownOffset() || safeEquals(offset, getLocalOffset())) { return this; } return new Timestamp((Calendar) _calendar.clone(), precision, _fraction, offset); }
Integer offset = t.getLocalOffset(); if (offset == null)
/** * Returns null if this is null.timestamp. */ private Integer getInternalLocalOffset() { if (_isNullValue()) { return null; } return _timestamp_value.getLocalOffset(); }
/** * Returns null if this is null.timestamp. */ private Integer getInternalLocalOffset() { if (_isNullValue()) { return null; } return _timestamp_value.getLocalOffset(); }
final Integer offset = value.getLocalOffset(); if (offset == null)
public Integer getLocalOffset() throws NullValueException { if (_isNullValue()) { throw new NullValueException(); } return _timestamp_value.getLocalOffset(); }
public Integer getLocalOffset() throws NullValueException { if (_isNullValue()) { throw new NullValueException(); } return _timestamp_value.getLocalOffset(); }
/** * Returns a timestamp at the same point in time, but with the given local * offset. If this timestamp has precision coarser than minutes, then it * is returned unchanged since such timestamps always have an unknown * offset. */ public Timestamp withLocalOffset(Integer offset) { Precision precision = getPrecision(); if (precision.alwaysUnknownOffset() || safeEquals(offset, getLocalOffset())) { return this; } Timestamp ts = createFromUtcFields(precision, getZYear(), getZMonth(), getZDay(), getZHour(), getZMinute(), getZSecond(), getZFractionalSecond(), offset); return ts; }
/** * Returns a timestamp at the same point in time, but with the given local * offset. If this timestamp has precision coarser than minutes, then it * is returned unchanged since such timestamps always have an unknown * offset. */ public Timestamp withLocalOffset(Integer offset) { Precision precision = getPrecision(); if (precision.alwaysUnknownOffset() || safeEquals(offset, getLocalOffset())) { return this; } Timestamp ts = createFromUtcFields(precision, getZYear(), getZMonth(), getZDay(), getZHour(), getZMinute(), getZSecond(), getZFractionalSecond(), offset); return ts; }
Integer offset = t.getLocalOffset(); if (offset == null)
Integer offset = t.getLocalOffset(); if (offset == null)
final Integer offset = value.getLocalOffset(); if (offset == null)
final Integer offset = value.getLocalOffset(); if (offset == null)