Package com.ibm.fhir.persistence.util
Class TimestampUtil
- java.lang.Object
- 
- com.ibm.fhir.persistence.util.TimestampUtil
 
- 
 public class TimestampUtil extends Object Utility for parsing our UTC timestamp format.
- 
- 
Constructor SummaryConstructors Constructor Description TimestampUtil()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimestampUtilcreate()Create a new utility instance, so each thread can get its ownStringformat(Date tstamp)Format the tstamp into our ISO8601 standardDategetTimestamp(String str)Parse the date string
 
- 
- 
- 
Method Detail- 
createpublic static TimestampUtil create() Create a new utility instance, so each thread can get its own- Returns:
 
 - 
getTimestamppublic Date getTimestamp(String str) Parse the date string- Parameters:
- str-
- Returns:
- the parsed date string
- Throws:
- ReplicatorException- for an error
 
 
- 
 
-