Home > Contents > Index >  
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

Utilities.calendarFromJDBCString

Returns a calendar object from JDBC date/time.

Syntax

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 Calendar object named cal:

See Also

jdbcDateFromCal , jdbcTimeFrom

 

   Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.