Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
Utilities.jdbcTimeFrom
Returns a JDBC formatted time from a calendar object.
Syntax
public static final String jdbcTimeFrom(Calendar cal)Parameters
cal
- Calendar with date.
Returns
Returns the JDBC formatted time string, in the form "HH:MM:SS".
Example
Calendar cal = Utilities.calendarFromJDBCString("2002-12-31 23:59:59"); String date = Utilities.jdbcTimeFrom(cal);See Also
calendarFromJDBCString , jdbcDateFromCal
Home > Contents > Index > Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.