public class ZonedEmbeddedLeadingSignedBigDecimalP17Field extends ZonedEmbeddedLeadingSignedBigDecimalField
| Constructor and Description |
|---|
ZonedEmbeddedLeadingSignedBigDecimalP17Field(int offset,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getBigDecimal(byte[] buffer)
Answer a BigDecimal from the given byte array buffer,
at the offset of this field.
|
java.math.BigDecimal |
getBigDecimal(byte[] buffer,
int bufOffset)
Answer a BigDecimal from the given byte array buffer,
at the bufOffset + offset of this field.
|
void |
putBigDecimal(java.math.BigDecimal value,
byte[] buffer)
Put a BigDecimal into the given byte array buffer,
at the offset of this field.
|
void |
putBigDecimal(java.math.BigDecimal value,
byte[] buffer,
int bufOffset)
Put a BigDecimal into the given byte array buffer,
at the bufOffset + offset of this field.
|
equals, getByteLength, getOffset, getPrecision, getScale, isBlankWhenZero, isSigned, isSignExternal, isSignTrailing, setOffsetpublic ZonedEmbeddedLeadingSignedBigDecimalP17Field(int offset,
int scale)
public java.math.BigDecimal getBigDecimal(byte[] buffer,
int bufOffset)
BigDecimalAccessorgetBigDecimal in interface BigDecimalAccessorgetBigDecimal in class ZonedEmbeddedLeadingSignedBigDecimalFieldbuffer - the byte arraybufOffset - the additional offset into the byte arraypublic java.math.BigDecimal getBigDecimal(byte[] buffer)
BigDecimalAccessorgetBigDecimal in interface BigDecimalAccessorgetBigDecimal in class ZonedEmbeddedLeadingSignedBigDecimalFieldbuffer - the byte arraypublic void putBigDecimal(java.math.BigDecimal value,
byte[] buffer,
int bufOffset)
throws java.lang.IllegalArgumentException
BigDecimalAccessorputBigDecimal in interface BigDecimalAccessorputBigDecimal in class ZonedEmbeddedLeadingSignedBigDecimalFieldvalue - the BigDecimal valuebuffer - the byte arraybufOffset - the additional offset into the byte arrayjava.lang.IllegalArgumentException - if the value is out of rangepublic void putBigDecimal(java.math.BigDecimal value,
byte[] buffer)
throws java.lang.IllegalArgumentException
BigDecimalAccessorputBigDecimal in interface BigDecimalAccessorputBigDecimal in class ZonedEmbeddedLeadingSignedBigDecimalFieldvalue - the BigDecimal valuebuffer - the byte arrayjava.lang.IllegalArgumentException - if the value is out of range