Here you can find the source of longFromDB(String dbLong)
public static long longFromDB(String dbLong)
//package com.java2s; // it under the terms of the GNU General Public License as published by public class Main { public static long longFromDB(String dbLong) { // remove the first 2 digits String s = dbLong.substring(2); return Long.parseLong(s); }/*from w w w .jav a 2 s . c o m*/ }