Class Precision

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    PrecisionEvaluator

    public class Precision
    extends UnaryExpression
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    The Precision operator returns the number of digits of precision in the input value. The operator can be used with Decimal, Date, DateTime, and Time values. For Decimal values, the operator returns the number of digits of precision after the decimal place in the input value. Precision(1.58700) // 5 For Date and DateTime values, the operator returns the number of digits of precision in the input value. Precision(@2014) // 4 Precision(@2014-01-05T10:30:00.000) // 17 Precision(@T10:30) // 4 Precision(@T10:30:00.000) // 9 If the argument is null, the result is null.

    Java class for Precision complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Precision">
       <complexContent>
         <extension base="{urn:hl7-org:elm:r1}UnaryExpression">
         </extension>
       </complexContent>
     </complexType>