Java Timestamp Convert To timestampToSearchString(final Timestamp timestamp)

Here you can find the source of timestampToSearchString(final Timestamp timestamp)

Description

timestamp To Search String

License

Open Source License

Declaration

public static String timestampToSearchString(final Timestamp timestamp) 

Method Source Code


//package com.java2s;
// ProjectForge is dual-licensed.

import java.sql.Timestamp;

public class Main {
    public static String timestampToSearchString(final Timestamp timestamp) {
        if (timestamp == null) {
            return "";
        }//w w w.  j a  va2  s. c o  m
        return timestamp.toString();
    }
}

Related

  1. timestampToInternal(java.sql.Timestamp ts)
  2. timestampToLong(Timestamp ts)
  3. timestampToMicros(Timestamp timestamp)
  4. timestampToParts(long time)
  5. timestampToPrettyString(long ts)
  6. timestampToString(long time)
  7. timestampToTicks(int year, int month, int day, int hours, int minutes, int seconds, int milliseconds)
  8. to_timestamp(String date)
  9. toCalendar(final Timestamp ts)