Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.flex.runtime.util.common
Class ValueTypeUtilDate

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.util.common.ValueType
      extended by oracle.apps.fnd.applcore.flex.runtime.util.common.ValueTypeUtilDate
Direct Known Subclasses:
ValueTypeDate, ValueTypeDateTime, ValueTypeTime

public abstract class ValueTypeUtilDate
extends ValueType

A value type that represents all types that can be stored as a java.util.Date without losing precision.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.ValueType
ValueType.DataType
 
Constructor Summary
protected ValueTypeUtilDate(ValueType.DataType dataType)
           
 
Method Summary
 java.util.Date getMaximum()
          Gets the maximum date.
 java.util.Date getMinimum()
          Gets the minimum date.
abstract  java.lang.String getParseMethodName()
          Gets the full name of the static parse method.
abstract  java.util.Date parse(java.lang.String s)
          Parses the given string and returns a date.
protected  void setMaximum(java.util.Date max)
          Sets the maximum date.
protected  void setMinimum(java.util.Date min)
          Sets the minimum date.
 
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.ValueType
formatDefaultValue, getDataType, getFormatString, getToStringExpression, isJavaTypeSupported, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueTypeUtilDate

protected ValueTypeUtilDate(ValueType.DataType dataType)
Method Detail

parse

public abstract java.util.Date parse(java.lang.String s)
Parses the given string and returns a date.

Parameters:
s - the string to be parsed
Returns:
the date
Throws:
java.lang.NullPointerException - if the given string is null
JboException - if an error occurs when parsing the string

getParseMethodName

public abstract java.lang.String getParseMethodName()
Gets the full name of the static parse method. The parse method should return a java.util.Date.

Returns:
the full name of the parse method

getMinimum

public java.util.Date getMinimum()
Gets the minimum date.

Returns:
the minimum date

setMinimum

protected void setMinimum(java.util.Date min)
Sets the minimum date.

Parameters:
min - the minimum date

getMaximum

public java.util.Date getMaximum()
Gets the maximum date.

Returns:
the maximum date

setMaximum

protected void setMaximum(java.util.Date max)
Sets the maximum date.

Parameters:
max - the maximum date

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.