Android Long to Date Convert getDateTimeString(long dateTime)

Here you can find the source of getDateTimeString(long dateTime)

Description

get Date Time String

Declaration

public static String getDateTimeString(long dateTime) 

Method Source Code

//package com.java2s;
import java.text.SimpleDateFormat;

public class Main {
    public static String getDateTimeString(long dateTime) {
        SimpleDateFormat format = new SimpleDateFormat("HH:mm dd/MM/yy");
        StringBuilder dateString = new StringBuilder(
                format.format(dateTime));
        return dateString.toString();
    }//from   w  w  w.  j  a v a 2s. c o  m
}

Related

  1. getDateString(long time)
  2. getDateTime(long microsecond)
  3. getDateTime(long microsecond)
  4. getDateTimeForTimeZone(Long time)
  5. getDateTimeLabel(long time)
  6. getDateWeekLabel(long date)
  7. getDay(long dateTimeMillis)
  8. getDayOfWeek(long timeMillis)
  9. getDefaultDateTimeString(long date, Locale locale)