Try OpenEdge Now
skip to main content
Java Open Clients
Accessing ABL ProDataSets : ProDataObject class : Extended methods : getGregorianCalendar( )
 
getGregorianCalendar( )
Returns the value of a GregorianCalendar column property, as specified by the following overloaded methods:

Syntax

java.util.GregorianCalendar getGregorianCalendar(int propertyIndex)
java.util.GregorianCalendar getGregorianCalendar(String propertyName)
propertyIndex
Specifies a 0-based index into the list of column properties contained by the ProDataObject. You can identify the index of a particular column property that corresponds to a mapped temp-table field using ProDataObjectMetaData methods. For more information, see ProDataObjectMetaData class.
propertyName
Specifies the name of a column property in the Property list contained by the ProDataObject. This name is typically identical to the name of an ABL temp-table field to which this column property is mapped.

Note

The Java SDO API does not currently support GregorianCalendar for a DataObject. However, ABL supports this data type for use with the ProDataObject class.