Module ibm.jzos

Class ZonedEmbeddedLeadingSignedBigDecimalP3Field

    • Constructor Detail

      • ZonedEmbeddedLeadingSignedBigDecimalP3Field

        public ZonedEmbeddedLeadingSignedBigDecimalP3Field​(int offset,
                                                           int scale)
    • Method Detail

      • putBigDecimal

        public void putBigDecimal​(java.math.BigDecimal value,
                                  byte[] buffer,
                                  int bufOffset)
                           throws java.lang.IllegalArgumentException
        Description copied from interface: BigDecimalAccessor
        Put a BigDecimal into the given byte array buffer, at the bufOffset + offset of this field.
        Specified by:
        putBigDecimal in interface BigDecimalAccessor
        Overrides:
        putBigDecimal in class ZonedEmbeddedLeadingSignedBigDecimalField
        Parameters:
        value - the BigDecimal value
        buffer - the byte array
        bufOffset - the additional offset into the byte array
        Throws:
        java.lang.IllegalArgumentException - if the value is out of range
      • putBigDecimal

        public void putBigDecimal​(java.math.BigDecimal value,
                                  byte[] buffer)
                           throws java.lang.IllegalArgumentException
        Description copied from interface: BigDecimalAccessor
        Put a BigDecimal into the given byte array buffer, at the offset of this field.
        Specified by:
        putBigDecimal in interface BigDecimalAccessor
        Overrides:
        putBigDecimal in class ZonedEmbeddedLeadingSignedBigDecimalField
        Parameters:
        value - the BigDecimal value
        buffer - the byte array
        Throws:
        java.lang.IllegalArgumentException - if the value is out of range