Sun Java Studio Creator 2 – Online Help
 

Date Time Converter

See Also | Tutorials

Converts between java.lang.String values in your component properties and data types of java.util.Date. The conversion usually applies to the property of a component used to display values and to pick up values entered by users, such as the text property of a Text Field component.

An example is binding a JavaServer Faces component to to a database column of type DATE. When you bind a component, the IDE normally identifies the data type for you and sets the appropriate converter when you establish a binding to the value property.  However, you can also add this converter manually by setting the component's converter property.

For more information on the date styles used by this converter, see the following two Java class API descriptions:

See Also
List of Converters
JDBC Type Conversions
Common Component Properties
About the Palette
Tutorials
Using Converters

 
 
 
Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Close