Java Long Number From toLongTimestamp(Object cell)

Here you can find the source of toLongTimestamp(Object cell)

Description

to Long Timestamp

License

Open Source License

Declaration

public static Long toLongTimestamp(Object cell) 

Method Source Code

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

public class Main {
    public static Long toLongTimestamp(Object cell) {
        if (cell instanceof String) {
            Double d = Double.valueOf((String) cell);
            d = new Double(d * 1000d);
            return d.longValue();
        } else {/*from www  . java  2  s. c o  m*/
            return null;
        }
    }
}

Related

  1. toLongs(byte[] readBuffer, int o, int l)
  2. toLongs(byte[] value, int offset, int num)
  3. toLongs(int[] array)
  4. toLongs(Long[] values)
  5. toLongTime()
  6. toLongUnsigned(int intValue)
  7. toLongValue(byte... bytes)
  8. toLongValue(final Object o)
  9. toLongValue(final String candidateString)