Home > Contents > Index > 
Expanded TOC | Accordion TOC | Annotated TOC | Index 
Utilities.calendarFromJDBCString
Returns a calendar object from JDBC date/time.
Syntax
public static Calendar calendarFromJDBCString(String str)Parameters
str- String in the form "YYYY-MM-DD HH:MM:SS". HH is in 24-hour format.
 
Returns
Returns the appropriate calendar object.
Example
The following method assigns the date (August 31, 2002) and time (one second before midnight) to a
Calendarobject namedcal:
Calendar cal = Utilities.calendarFromJDBCString( "2002-08-31 23:59:59" );See Also
jdbcDateFromCal , jdbcTimeFrom
Home > Contents > Index > ![]()
FatWire JAVA Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.