BBjspHashMap::setDate (Deprecated)

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

Description

In BBj 16.0 and higher, this method adds a Date value to the map

Syntax

Return Value

Method

void

setDate(string key, Date val)

Parameters

Variable

Description

key

The key.

val

A Data object.

Return Value

None.

Remarks

None.

Example

declare BBjspHashMap map!

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

map!.put("NUMBER",1.23)
map!.put("STRING","A String")

print map!.getDouble("NUMBER")
print map!.getTypeOf("STRING")

print map!
print map!

See Also

BBjspHashMap

BBjspHashMap::getDate()