Java Milliseconds millisToDate(String stime)

Here you can find the source of millisToDate(String stime)

Description

millis To Date

License

Open Source License

Declaration

public static final Date millisToDate(String stime) 

Method Source Code

//package com.java2s;

import java.util.*;

public class Main {
    public static final Date millisToDate(String stime) {
        long time = Long.parseLong(stime);
        return new Date(time);
    }/*from   ww  w.jav  a2s  .co  m*/
}

Related

  1. millisecond(final Date date)
  2. millisecondOf(Date date)
  3. milliseconds(int offset)
  4. millisecondsBetween(Date start, Date finish)
  5. millisecondsSinceMidnight(Date date)
  6. minutusAndSecondsFromMillis(long millis)
  7. msToString(long milliseconds)
  8. multiplyRelativeTimeMillis(long duration, long multiplier)
  9. nowMillis()