Helper to compare i.e two months in different years
This method will help in comparing two dates by trimming date format to our specific format. So we avoid unnecessary data. Sample: We compare two months in different years. First…
This method will help in comparing two dates by trimming date format to our specific format. So we avoid unnecessary data. Sample: We compare two months in different years. First…
Here is that pretty snippet for converting long to specific date format: I took source from: http://stackoverflow.com/a/7954038/619673 public static String getDate(long milliSeconds, String dateFormat) { // Create a DateFormatter object…