public class DateCondition extends Condition
Modifier and Type | Class and Description |
---|---|
static class |
DateCondition.DateComparisonType
サポートする日時の比較条件の列挙型
|
conditionKey, type, values
Constructor and Description |
---|
DateCondition(DateCondition.DateComparisonType type,
Date date)
IIJ GIOストレージ&アナリシスサービスサーバへのリクエストの到達日時と
特定の日時とを比較するアクセスポリシーのコンディションを構築します
|
public DateCondition(DateCondition.DateComparisonType type, Date date)
type
- 適用する比較タイプ
例えば、DateCondition.DateComparisonType.DateLessThan
は、
現在時刻が第2引数の時刻よりも小さかった場合に、コンディションが
trueとなり、ポリシーが適用されます。
date
- 現在時刻と比較する日時情報Copyright © 2018. All rights reserved.