|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.finaluna.api.type.util.FinalunaTypeConvertUtil
@Rcsid(value="$Revision: 38309 $ $Date: 2010-03-18 17:14:55 +0900 $") public class FinalunaTypeConvertUtil
FINALUNA型間の相互変換を行うための型変換ユーティリティクラス。
FINALUNA型⇔FINALUNA型相互変換のユーティリティ処理を実装する。
フィールドの概要 | |
---|---|
private static FinalunaTypeConvertUtilDelegate |
convertUtil
変換用インスタンス。 |
コンストラクタの概要 | |
---|---|
private |
FinalunaTypeConvertUtil()
コンストラクタ。 |
メソッドの概要 | |
---|---|
static void |
setFinalunaTypeConvertUtil(FinalunaTypeConvertUtilDelegate convertUtilDelegate)
変換処理実装インスタンスを設定する。 |
static DateAndTimeType |
toDateAndTimeType(DateType target)
DateType をDateAndTimeType に変換する。 |
static DateAndTimeType |
toDateAndTimeType(StringCode target)
StringCode をDateAndTimeType に変換する。 |
static DateAndTimeType |
toDateAndTimeType(TimestampType target)
TimestampType をDateAndTimeType に変換する。 |
static DateType |
toDateType(DateAndTimeType target)
DateAndTimeType をDateType に変換する。 |
static DateType |
toDateType(StringCode target)
StringCode をDateType に変換する。 |
static DateType |
toDateType(TimestampType target)
TimestampType をDateType に変換する。 |
static DecimalType |
toDecimalType(IntegerType target)
IntegerType をDecimalType に変換する。 |
static DecimalType |
toDecimalType(StringCode target)
StringCode をDecimalType に変換する。 |
static DecimalType |
toDecimalTypeExact(StringCode target)
StringCode をDecimalType に変換する。 |
static IntegerType |
toIntegerType(StringCode target)
StringCode をIntegerType に変換する。 |
static IntegerType |
toIntegerTypeExact(StringCode target)
StringCode をIntegerType に変換する。 |
static TimestampType |
toTimestampType(DateAndTimeType target)
DateAndTimeType をTimestampType に変換する。 |
static TimestampType |
toTimestampType(DateType target)
DateType をTimestampType に変換する。 |
static TimestampType |
toTimestampType(StringCode target)
StringCode をTimestampType に変換する。 |
static TimeType |
toTimeType(DateAndTimeType target)
DateAndTimeType をTimeType に変換する。 |
static TimeType |
toTimeType(StringCode target)
StringCode をTimeType に変換する。 |
static TimeType |
toTimeType(TimestampType target)
TimestampType をTimeType に変換する。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
private static FinalunaTypeConvertUtilDelegate convertUtil
コンストラクタの詳細 |
---|
private FinalunaTypeConvertUtil()
メソッドの詳細 |
---|
public static IntegerType toIntegerType(StringCode target)
StringCode
をIntegerType
に変換する。
target
- 変換前のオブジェクト
public static IntegerType toIntegerTypeExact(StringCode target) throws FinalunaApplException
StringCode
をIntegerType
に変換する。
変換に際し失われた情報がある場合、FinalunaApplException
がスローされる。
target
- 変換前のオブジェクト
FinalunaApplException
- 変換に際し失われた情報がある場合public static DecimalType toDecimalType(StringCode target)
StringCode
をDecimalType
に変換する。
target
- 変換前のオブジェクト
public static DecimalType toDecimalType(IntegerType target)
IntegerType
をDecimalType
に変換する。
target
- 変換前のオブジェクト
public static DecimalType toDecimalTypeExact(StringCode target) throws FinalunaApplException
StringCode
をDecimalType
に変換する。
変換に際し失われた情報がある場合、FinalunaApplException
がスローされる。
target
- 変換前のオブジェクト
FinalunaApplException
- 変換に際し失われた情報がある場合public static DateAndTimeType toDateAndTimeType(StringCode target)
StringCode
をDateAndTimeType
に変換する。
target
- 変換前のオブジェクト
public static DateAndTimeType toDateAndTimeType(DateType target)
DateType
をDateAndTimeType
に変換する。
時分秒は00:00:00で設定する。
target
- 変換前のオブジェクト
public static DateAndTimeType toDateAndTimeType(TimestampType target)
TimestampType
をDateAndTimeType
に変換する。
ナノ秒は切り捨てる。
target
- 変換前のオブジェクト
public static DateType toDateType(StringCode target)
StringCode
をDateType
に変換する。
target
- 変換前のオブジェクト
public static DateType toDateType(DateAndTimeType target)
DateAndTimeType
をDateType
に変換する。
時分秒は切り捨てる。
target
- 変換前のオブジェクト
public static DateType toDateType(TimestampType target)
TimestampType
をDateType
に変換する。
時分秒ナノ秒は切り捨てる。
target
- 変換前のオブジェクト
public static TimestampType toTimestampType(StringCode target)
StringCode
をTimestampType
に変換する。
target
- 変換前のオブジェクト
public static TimestampType toTimestampType(DateAndTimeType target)
DateAndTimeType
をTimestampType
に変換する。
ナノ秒は000000000で設定する。
target
- 変換前のオブジェクト
public static TimestampType toTimestampType(DateType target)
DateType
をTimestampType
に変換する。
時分秒ナノ秒は00:00:00:000000000で設定する。
target
- 変換前のオブジェクト
public static TimeType toTimeType(StringCode target)
StringCode
をTimeType
に変換する。
target
- 変換前のオブジェクト
public static TimeType toTimeType(DateAndTimeType target)
DateAndTimeType
をTimeType
に変換する。
DateAndTimeType
の時分秒の情報を返す。
target
- 変換前のオブジェクト
public static TimeType toTimeType(TimestampType target)
TimestampType
をTimeType
に変換する。
TimestampType
の時分秒の情報を返す。
target
- 変換前のオブジェクト
public static void setFinalunaTypeConvertUtil(FinalunaTypeConvertUtilDelegate convertUtilDelegate)
convertUtilDelegate
- 変換処理実装インスタンス
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |