public class AccountDateTimePrinter extends Object implements org.springframework.format.Printer<Date>
AccountDateTimeFormatter#format(Date, String...)
, AccountDateTimeFormatter#format(Date, TimeZone, String...)
を使って、 Date
を文字列に変換するPrinter
の実装クラスです。 Date
をアカウントタイムゾーンに変換した文字列にします。Date
をシステムタイムゾーンの文字列にします。コンストラクタと説明 |
---|
AccountDateTimePrinter(boolean isConvertTimeZone,
String... formatIds)
コンストラクタ
|
public AccountDateTimePrinter(boolean isConvertTimeZone, String... formatIds)
isConvertTimeZone
- タイムゾーン変換をする場合true
formatIds
- DateTimeFormatIds
で定義されているフォーマットIdCopyright © 2012 NTT DATA INTRAMART CORPORATION