org.seasar.framework.util
クラス TimestampConversionUtil

java.lang.Object
  拡張org.seasar.framework.util.TimestampConversionUtil

public class TimestampConversionUtil
extends Object

Timestamp用の変換ユーティリティです。

作成者:
higa

コンストラクタの概要
protected TimestampConversionUtil()
          インスタンスを構築します。
 
メソッドの概要
static Timestamp toTimestamp(Object o)
          Timestampに変換します。
static Timestamp toTimestamp(Object o, String pattern)
          Timestampに変換します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

TimestampConversionUtil

protected TimestampConversionUtil()
インスタンスを構築します。

メソッドの詳細

toTimestamp

public static Timestamp toTimestamp(Object o)
Timestampに変換します。

パラメータ:
o -
戻り値:
Timestamp

toTimestamp

public static Timestamp toTimestamp(Object o,
                                    String pattern)
Timestampに変換します。

パラメータ:
o -
pattern -
戻り値:
Timestamp


Copyright ? 2004-2008 The Seasar Foundation. All Rights Reserved.