Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.service.policystore.info
Class OpssDate

java.lang.Object
  extended by oracle.security.jps.service.policystore.info.DataType
      extended by oracle.security.jps.service.policystore.info.OpssDate

All Implemented Interfaces:
ExpressionComponent

public class OpssDate
extends DataType

The class stands for date data type which supported by OPSS policy store.


Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.ExpressionComponent
ExpressionComponent.Type

 

Constructor Summary
OpssDate(java.util.Date val)
          Constructor

 

Method Summary
 boolean equals(java.lang.Object that)
           
 ExpressionComponent.Type getComponentType()
          Returns type of the component.
 java.util.Date getDate()
          Returns the Date object.
 int getDayOfMonth()
          Returns the day of the month represented by this date.A month is represented by an integer from 0 to 11; 0 is January, 1 is February, and so forth; thus 11 is December.
 int getMonth()
          Returns the month represented by this date.A month is represented by an integer from 0 to 11; 0 is January, 1 is February, and so forth; thus 11 is December.
 java.lang.String getMonthString()
          Returns the month name represented by this date as three letters.
 java.lang.Class getRuntimeType()
          Gets runtime type
 java.util.Date getTime()
          Returns the time from the Calendar object created with the represeneted Date object.
 int getYear()
          Returns the year represented by this date.
 int hashCode()
           
 boolean isValid()
           
 java.lang.String toString()
           
static OpssDate valueOf(java.lang.String GMTString)
          the method translate a GMT time string into an OpssDate object.

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

OpssDate

public OpssDate(java.util.Date val)
Constructor
Parameters:
val -

Method Detail

getRuntimeType

public java.lang.Class getRuntimeType()
Gets runtime type

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

valueOf

public static OpssDate valueOf(java.lang.String GMTString)
the method translate a GMT time string into an OpssDate object. for example, OpssDate.valueOf("1 Jan 1970 00:00:00 GMT");
Parameters:
GMTString -
Returns:

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

getComponentType

public ExpressionComponent.Type getComponentType()
Description copied from interface: ExpressionComponent
Returns type of the component.
Returns:

isValid

public boolean isValid()

getYear

public int getYear()
Returns the year represented by this date.
Returns:
the year represented by this date.

getMonth

public int getMonth()
Returns the month represented by this date.A month is represented by an integer from 0 to 11; 0 is January, 1 is February, and so forth; thus 11 is December.
Returns:
the month represented by this date.

getMonthString

public java.lang.String getMonthString()
Returns the month name represented by this date as three letters. Month January is represented as Jan etc.
Returns:
the month represented by this date as String of first 3 letters.

getDayOfMonth

public int getDayOfMonth()
Returns the day of the month represented by this date.A month is represented by an integer from 0 to 11; 0 is January, 1 is February, and so forth; thus 11 is December.
Returns:
the day of the month represented by this date.

getDate

public java.util.Date getDate()
Returns the Date object.
Returns:
the Date object.

getTime

public java.util.Date getTime()
Returns the time from the Calendar object created with the represeneted Date object.
Returns:
time from the Calendar object.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.