Java Milliseconds getMillis(String _cal)

Here you can find the source of getMillis(String _cal)

Description

get Millis

License

Open Source License

Declaration

static long getMillis(String _cal) 

Method Source Code

//package com.java2s;

public class Main {
    static long getMillis(String _cal) {

        int idx1 = _cal.indexOf("time");
        int idx2 = _cal.indexOf(",");
        return Long.parseLong(_cal.substring(idx1 + 5, idx2));
    }/*from  ww w .j  a va 2 s. co  m*/
}

Related

  1. getLogTimeFromMillis(Long millis)
  2. getMillis()
  3. getMillis()
  4. getMillis(long ticks)
  5. getMillis(long timeInMinutes)
  6. getMillis(String dateStr)
  7. getMillis(String decimal)
  8. getMillisDisplayable(long millis)
  9. getMilliSecond(Date d1, Date d2)