gov.lanl.archive.resource
Class ThreadSafeSimpleDateFormat

java.lang.Object
  extended by gov.lanl.archive.resource.ThreadSafeSimpleDateFormat

public class ThreadSafeSimpleDateFormat
extends Object


Constructor Summary
ThreadSafeSimpleDateFormat(String format)
           
 
Method Summary
 String format(Date date)
           
 Date parse(String string)
           
 void setTimeZone(TimeZone tzo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadSafeSimpleDateFormat

public ThreadSafeSimpleDateFormat(String format)
Method Detail

format

public String format(Date date)

parse

public Date parse(String string)
           throws ParseException
Throws:
ParseException

setTimeZone

public void setTimeZone(TimeZone tzo)


Copyright © 2013. All Rights Reserved.