|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sf.orangesignal.ta.util.DateArrayUtils
NavigableSet
の NavigableSet.floor(Object)
や NavigableSet.lower(Object)
などを使用して下さい。
public abstract class DateArrayUtils
日時配列操作に関するユーティリティを提供します。
コンストラクタの概要 | |
---|---|
DateArrayUtils()
推奨されていません。 |
メソッドの概要 | |
---|---|
static int |
indexOf(Date[] array,
Date find)
推奨されていません。 指定された日時データから指定された日時以後 ( null 可) を含む最初の位置を返します。 |
static int |
indexOf(Date[] array,
Date find,
int start)
推奨されていません。 指定された日時データから指定された日時以後 ( null 可) を含む最初の位置を返します。 |
static int |
lastIndexOf(Date[] array,
Date find)
推奨されていません。 指定された日時データから指定された日時以前 ( null 可) を含む最後の位置を返します。 |
static int |
lastIndexOf(Date[] array,
Date find,
int start)
推奨されていません。 指定された日時データから指定された日時以前 ( null 可) を含む最後の位置を返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public DateArrayUtils()
メソッドの詳細 |
---|
public static int indexOf(Date[] array, Date find)
指定された日時データから指定された日時以後 (null
可) を含む最初の位置を返します。
null
の場合は -1
を返します。
array
- 日時データfind
- 検索する日時 (null
可)
-1
public static int indexOf(Date[] array, Date find, int start)
指定された日時データから指定された日時以後 (null
可) を含む最初の位置を返します。
null
の場合は -1
を返します。
array
- 日時データfind
- 検索する日時 (null
可)start
- 開始位置
-1
public static int lastIndexOf(Date[] array, Date find)
指定された日時データから指定された日時以前 (null
可) を含む最後の位置を返します。
null
の場合は -1
を返します。
array
- 日時データfind
- 検索する日時 (null
可)
-1
public static int lastIndexOf(Date[] array, Date find, int start)
指定された日時データから指定された日時以前 (null
可) を含む最後の位置を返します。
null
の場合は -1
を返します。
array
- 日時データfind
- 検索する日時 (null
可)start
- 開始位置
-1
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |