ca.uhn.hl7v2.model
Class DataTypeUtil
java.lang.Object
ca.uhn.hl7v2.model.DataTypeUtil
public class DataTypeUtil
- extends Object
This class is used to provide utility functions for other datatype classes and methods.
|
Method Summary |
static int |
getLocalGMTOffset()
This method will return a signed four digit integer indicating the local
GMT offset. |
static String |
preAppendZeroes(int num,
int totalDigitLength)
This method will preappend the zeros to the beginning of num such that the total length
equals totalDigitLength. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataTypeUtil
public DataTypeUtil()
preAppendZeroes
public static String preAppendZeroes(int num,
int totalDigitLength)
- This method will preappend the zeros to the beginning of num such that the total length
equals totalDigitLength. It will also return the string representation of the new number.
getLocalGMTOffset
public static int getLocalGMTOffset()
- This method will return a signed four digit integer indicating the local
GMT offset. This is the HL7 Offset format in integer representation.
Copyright © 2001-2012 University Health Network. All Rights Reserved.