Java SQL Time Create time2String(final java.sql.Time value)

Here you can find the source of time2String(final java.sql.Time value)

Description

Time to String format

License

Open Source License

Parameter

Parameter Description
value Time value

Return

String value

Declaration

public static String time2String(final java.sql.Time value) 

Method Source Code

//package com.java2s;
/*/*from w  w w .  jav a 2s.c  om*/
 * ====================
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 * 
 * Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.     
 * 
 * The contents of this file are subject to the terms of the Common Development 
 * and Distribution License("CDDL") (the "License").  You may not use this file 
 * except in compliance with the License.
 * 
 * You can obtain a copy of the License at 
 * http://IdentityConnectors.dev.java.net/legal/license.txt
 * See the License for the specific language governing permissions and limitations 
 * under the License. 
 * 
 * When distributing the Covered Code, include this CDDL Header Notice in each file
 * and include the License file at identityconnectors/legal/license.txt.
 * If applicable, add the following below this CDDL Header, with the fields 
 * enclosed by brackets [] replaced by your own identifying information: 
 * "Portions Copyrighted [year] [name of copyright owner]"
 * ====================
 */

public class Main {
    /**
     * Time to String format
     * @param value Time value
     * @return String value
     */
    public static String time2String(final java.sql.Time value) {
        return value.toString();
    }
}

Related

  1. getYear(String dateTime)
  2. substract(Time thisDeparture, Time firstDeparture)
  3. SumTime(Time t1, Time t2)
  4. sumTimes(String[] timeStrings, DateFormat df)
  5. time2Double(java.sql.Time time)
  6. timeToBytes(Time t)
  7. timeToCalendar(Time input)
  8. timeToInternal(java.sql.Time time)
  9. timeToLong(Object timeObj)