jp.terasoluna.fw.file.dao.standard
クラス DateFormatLocal
java.lang.Object
java.lang.ThreadLocal<DateFormat>
jp.terasoluna.fw.file.dao.standard.DateFormatLocal
public class DateFormatLocal
- extends ThreadLocal<DateFormat>
DateFormatのThreadLocalクラス。
SimpleDateFormatがスレッドセーフではないため、ThreadLocalを使用して
スレッドセーフにする。
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateFormatLocal
public DateFormatLocal(String pattern)
- コンストラクタ
initialValue
protected DateFormat initialValue()
- 初期化。
- オーバーライド:
- クラス
ThreadLocal<DateFormat>
内の initialValue
- 戻り値:
- DateFormatインスタンス
Copyright © 2012. All Rights Reserved.