Here you can find the source of toLongTimestamp(Object cell)
public static Long toLongTimestamp(Object cell)
//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; } } }