|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sourceforge.orangesignal.ta.dataset.DateTruncater
public class DateTruncater
足単位変換で使用する日時切捨て用クラスを提供します。
フィールドの概要 | |
---|---|
protected Calendar |
calendar
|
protected int |
date
日の初期値を保持します。 |
protected int |
hour
時の初期値を保持します。 |
protected int |
millisecond
ミリ秒の初期値を保持します。 |
protected int |
minute
分の初期値を保持します。 |
protected int |
month
月の初期値を保持します。 |
protected int |
second
秒の初期値を保持します。 |
protected int |
year
年の初期値を保持します。 |
コンストラクタの概要 | |
---|---|
DateTruncater()
デフォルトコンストラクタです。 |
|
DateTruncater(Calendar calendar)
コンストラクタです。 |
メソッドの概要 | |
---|---|
Calendar |
truncate(Calendar calendar,
int field)
指定されたカレンダーを指定された精度で切捨てて返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected Calendar calendar
protected int year
protected int month
protected int date
protected int hour
protected int minute
protected int second
protected int millisecond
コンストラクタの詳細 |
---|
public DateTruncater()
public DateTruncater(Calendar calendar)
calendar
- カレンダーメソッドの詳細 |
---|
public Calendar truncate(Calendar calendar, int field)
calendar
- カレンダーfield
- 切捨て精度
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |