@Test public void testSimpleDate() throws Exception { assertNotNull(HoodUtil.toSimpleDateTimeFormat(-1)); assertNotNull(HoodUtil.toSimpleDateTimeFormat(0)); assertNotNull(HoodUtil.toSimpleDateTimeFormat(1)); assertNotNull(HoodUtil.toSimpleDateTimeFormat(new Date().getTime())); }
public static String toSimpleDateTimeFormat(long millisEpochUtc) { return new SimpleDateFormat("yyyy-MM-dd hh:mm:ss", Locale.US).format(new Date(millisEpochUtc)); }
HoodUtil { public static String toSimpleDateTimeFormat(long millisEpochUtc) { return new SimpleDateFormat("yyyy-MM-dd hh:mm:ss", Locale.US).format(new Date(millisEpochUtc)); } }
HoodUtil { public static String toSimpleDateTimeFormat(long millisEpochUtc) { return new SimpleDateFormat("yyyy-MM-dd hh:mm:ss", Locale.US).format(new Date(millisEpochUtc)); } private  HoodUtil(); }
HoodUtil { public static String toSimpleDateTimeFormat(long millisEpochUtc) { return new SimpleDateFormat("yyyy-MM-dd hh:mm:ss", Locale.US).format(new Date(millisEpochUtc)); } private  HoodUtil(); static String byteToHex(byte[] bytes); static T getConditionally(T object, boolean shouldReturnEntry); static Locale getCurrentLocale(Context ctx); static String humanReadableByteCount(long bytes, boolean si); static String millisToDaysHoursMinString(long millis); static String toSimpleDateTimeFormat(long millisEpochUtc); static String obfuscateAndShorten(@Nullable String original, int maxCharLengthLeftOrRight,
                                             char obfuscationChar); }
HoodUtil { public static String toSimpleDateTimeFormat(long millisEpochUtc) { return new SimpleDateFormat("yyyy-MM-dd hh:mm:ss", Locale.US).format(new Date(millisEpochUtc)); } private  HoodUtil(); static String byteToHex(byte[] bytes); static T getConditionally(T object, boolean shouldReturnEntry); static Locale getCurrentLocale(Context ctx); static String humanReadableByteCount(long bytes, boolean si); static String millisToDaysHoursMinString(long millis); static String toSimpleDateTimeFormat(long millisEpochUtc); static String obfuscateAndShorten(@Nullable String original, int maxCharLengthLeftOrRight,
                                             char obfuscationChar);  }