Android Long to Date Convert getDateByInt(long va)

Here you can find the source of getDateByInt(long va)

Description

get Date By Int

Declaration

public static Date getDateByInt(long va) 

Method Source Code

//package com.java2s;

import java.util.Date;

public class Main {
    public static Date getDateByInt(long va) {
        Date result = new Date();
        result.setTime(va);/*from   www.  jav  a  2s.co  m*/
        return result;
    }
}

Related

  1. toString(Long datetime)
  2. toTimeString(long milliseconds)
  3. stringForTime(long timeMs)
  4. getTimeString(long millis)
  5. parseTime(long time, String pattern)
  6. getDateTimeString(long dateTime)
  7. getLabelForEventInTime(long inTime)
  8. getTimeDelta(long delta, String dateFormat)
  9. timeAgo(long aTime)