BBjspHashMap::getDate (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

In BBj 16.0 and higher, this method will return a data value derived from the stored value in this BBjspHashMap or NULL() if the object is not a Date.

Syntax

Return Value

Method

java.util.Date

getDate(string key)

Parameters

Variable

Description

key

The name of the Date object to return.

Return Value

Returns a Date or NULL().

Remarks

None.

Example

declare BBjspHashMap map!

map! = BBjAPI().makeBBJSP().makeBBjspHashMap()

map!.put("D",new java.util.Date())

print map!.getDate("D")

print map!

See Also

BBjspHashMap

BBjspHashMap::setDate()