DateUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,408 of 1,5639%145 of 1471%1571633503858288
getDaysBetween(Date, Date)880%100%66222211
getStartAndEndOfDay(Date)660%20%22161611
getStartAndEndOfMonth(Date)630%n/a11161611
getZeroPaddedYearMonthDay(Date)570%40%33131311
isValid(int, int, int)500%160%998811
getYMDHMS(Date)480%n/a11101011
combine(Date, Date)470%40%33111111
isSameDay(Calendar, Calendar)340%100%665511
truncateTimeTo(Date, int)310%50%559911
getEndOfMonth(Date)310%n/a118811
getStartOfDay(Date)300%20%229911
getYearMonthDay(Date)300%n/a117711
getHourMinuteSecond(Date)300%n/a117711
getStartOfMonth(Date)300%n/a118811
toEpochTime(Date)300%20%228811
setToStartOfDay(Date)290%n/a118811
setToEndOfDay(Date)290%n/a118811
isValid(String, String, String)280%60%446611
fallsBetween(Date, Date, Date)240%100%663311
subtract(Date, int, int)230%n/a114411
isWeekDay(Date, Locale, TimeZone)230%40%334411
isSameDayTime(Date, Date)230%40%337711
isWeekDay(Date)210%40%334411
exceedsInMonths(Date, Date, int)210%40%333311
expiredDate(Date, Period)210%40%336611
getXmlGregorianCalendar(Date, int)210%n/a118811
getLastDayOfMonth(Date)190%n/a115511
toSQLDate(Date)160%40%335511
toSQLTime(Date)160%40%335511
toSQLTimestamp(Date)160%40%335511
getLastDayOfMonth(int, int)150%n/a113311
inThePast(Date)140%20%223311
addDays(Date, int)140%n/a114411
fromDateFormat(String, DateFormat)130%40%335511
getDayOfWeek1stLetterOnly(Date)120%20%224411
getDaysBetween2(Date, Date)110%n/a112211
getHoursBetween2(Date, Date)110%n/a112211
getDaysBetweenObject(Date, Date)110%40%333311
getDaysInYear(int)110%n/a112211
getDayOfWeek(Date)110%n/a113311
toNormalizedSqlDate(Date)110%20%223311
toNormalizedDate(Date)110%20%223311
exceedsInDays(Date, Date, int)110%20%221111
addNanoSEcs(Date, int)110%n/a113311
fromDateFields(Date)110%20%225511
getEndOfYesterday()100%n/a113311
toDateFormat(Date, DateFormat)100%40%333311
createDateRange(Date, int)100%20%221111
clone(Date)100%20%223311
getZonedDateTime(Date)100%n/a113311
fromLdt(LocalDateTime)100%n/a113311
toFormat(Date, String)90%n/a112211
getMonths()80%n/a112211
toShortFormat(Date)80%20%223311
toZALongFormat(Date)80%20%223311
toZA_HMSFormat(Date)80%20%223311
toZA_HMFormat(Date)80%20%223311
toLd(Date)80%n/a113311
toLocalDate(Date)70%20%223311
toLocalDateTime(Date)70%20%223311
getDaysBetween(DateRange)60%n/a111111
getCurrentYear()60%n/a111111
getCurrentMonth()60%n/a111111
getCurrentDay()60%n/a111111
toLdt(Date)60%n/a112211
fromLd(LocalDate)60%n/a111111
toFormat(LocalDateTime, String)50%n/a111111
isToday(Date)50%n/a111111
getDayOfWeekAbbreviated(Date)40%n/a111111
getDayOfWeekAsString(Date)40%n/a111111
toT_MYFormat(Date)40%n/a111111
fromT_MYFormat(String)40%n/a111111
toT_YMDFormat(Date)40%n/a111111
toT_DMYFormat(Date)40%n/a111111
fromT_YMDFormat(String)40%n/a111111
toZA_YMDFormat(Date)40%n/a111111
toZA_DMYFormat(Date)40%n/a111111
toZA_DMYHMSFormat(Date)40%n/a111111
toZA_DMYHMSSSFormat(Date)40%n/a111111
fromZA_YMDFormat(String)40%n/a111111
DateUtils()30%n/a111111
toNormalizedTime(Date)30%n/a111111
getEndOfDay(Date)22893%1150%121901
toZA_YMDHMSFormat(Date)2675%1150%121301
static {...}86100%n/a0101801
add(Date, int, int)14100%n/a010401
getMilliSecondsBetween2(Date, Date)11100%n/a010201
toDate(int, int, int)10100%n/a010101