Java Time Format getTimeFormatter()

Here you can find the source of getTimeFormatter()

Description

get Time Formatter

License

Open Source License

Declaration

public static SimpleDateFormat getTimeFormatter() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.text.SimpleDateFormat;

public class Main {
    public static final String TIME_FORMAT = "HH:mm:ss";

    public static SimpleDateFormat getTimeFormatter() {
        return new SimpleDateFormat(TIME_FORMAT); // m_timeFormatter;
    }/*from   ww  w .ja v  a  2 s.c o  m*/
}

Related

  1. getTimeFormat(Date date, String strFormat)
  2. getTimeFormat(java.util.Date date)
  3. getTimeFormat(Locale locale)
  4. getTimeFormat(String format)
  5. getTimeFormatted()
  6. getTimeFromString(String time, SimpleDateFormat formatter)
  7. getTimeFromString(String timeStr, String format)
  8. getTimeInProvenanceFormat(Date date)
  9. getTimeOnlyDateFormat()