Java Hour Format format_default(Date time)

Here you can find the source of format_default(Date time)

Description

formadefault

License

Apache License

Declaration

public static String format_default(Date time) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    public static SimpleDateFormat FORMATER_3 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    public static String format_default(Date time) {
        return FORMATER_3.format(time);
    }// w ww  .  j a v  a2s. co m
}

Related

  1. format(String pattern)
  2. format(String str)
  3. format16ByDate(Date aDate)
  4. format1StringToformat2String(String dateStr)
  5. format2NormalTime(Date date)
  6. formatAbsoluteTime(long time)
  7. formatAddTime(Date addTime)
  8. formatAllDate(Date date)
  9. formatAsCassandraDateTime(Date date)