static String date ( final long timestamp ) { if ( ( timestamp & Const . SECOND_MASK ) != 0 ) { return new Date ( timestamp ) . toString ( ) ; } else { return new Date ( timestamp * 1000 ) . toString ( ) ; } }
Transforms a UNIX timestamp into a human readable date .