|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.boxed_economy.components.realclock.TimeOfDay
TimeOfDay defaultのtimeOfDayをGregorianCalendarで実装します。 monthは1から始まるように変換します。
コンストラクタの概要 | |
TimeOfDay(int year,
int month,
int day,
int hour,
int minute,
int second)
コンストラクタです。 |
メソッドの概要 | |
boolean |
equals(java.lang.Object target)
timeOfDayの比較を行い、同じであれば真を返します。 |
int |
getDay()
dayを返します。 |
int |
getHour()
hourを返します。 |
int |
getMinute()
minuteを返します。 |
int |
getMonth()
monthを返します。 |
Time |
getMonthDifference(TimeOfDay target)
DefaultTimeOfDayで付け加えられたメソッド getTimeDifferenceをmonthをunitとして返します。 |
TimeOfDay |
getMonthTimeOfDayByMonth(int addvalue)
整数で表された引き数だけ、monthを経過させたtimeOfDayを返します。 |
int |
getSecond()
secondを返します。 |
Time |
getTimeDifference(TimeOfDay target)
このカレンダーが指しているtimeOfDayと引数のtimeOfDayの差をTimeで返します。 |
TimeOfDay |
getTimeOfDay(Time gainTime)
このオブジェクトが表わしているtimeOfDayから引数のhourだけ進めたtimeOfDayを返します。 |
TimeOfDay |
getTimeOfDayByDay(int addvalue)
整数で表された引き数だけ、dayを経過させたtimeOfDayを返します。 |
TimeOfDay |
getTimeOfDayByHour(int addvalue)
整数で表された引き数だけ、hourを経過させたtimeOfDayを返します。 |
TimeOfDay |
getTimeOfDayByMinute(int addvalue)
整数で表された引き数だけ、minuteを経過させたtimeOfDayを返します。 |
TimeOfDay |
getTimeOfDayBySecond(int addvalue)
整数で表された引き数だけ、secondを経過させたtimeOfDayを返します。 |
TimeOfDay |
getTimeOfDayByYear(int addvalue)
整数で表された引き数だけ、yearを経過させたtimeOfDayを返します。 |
int |
getYear()
yearを返します。 |
int |
hashCode()
ハッシュコードを返します。 |
java.lang.String |
toString()
このオブジェクトの文字列表現を返します みやすくするため、Gregorianカレンダーが持つ情報のうち、 year/month/day/hour/minute/second/msだけを出力します |
クラス java.lang.Object から継承したメソッド |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
public TimeOfDay(int year, int month, int day, int hour, int minute, int second)
メソッドの詳細 |
public TimeOfDay getTimeOfDay(Time gainTime)
gainTime
- 経過させるhour
public Time getTimeDifference(TimeOfDay target)
target
- 比較targetのtimeOfDay
public Time getMonthDifference(TimeOfDay target)
target
- 比較するtimeOfDay
public int getYear()
public int getMonth()
public int getDay()
public int getHour()
public int getMinute()
public int getSecond()
public TimeOfDay getTimeOfDayByYear(int addvalue)
public TimeOfDay getMonthTimeOfDayByMonth(int addvalue)
public TimeOfDay getTimeOfDayByDay(int addvalue)
public TimeOfDay getTimeOfDayByHour(int addvalue)
public TimeOfDay getTimeOfDayByMinute(int addvalue)
public TimeOfDay getTimeOfDayBySecond(int addvalue)
public boolean equals(java.lang.Object target)
target
- 比較target
public int hashCode()
public java.lang.String toString()
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |