DateUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total44 of 1,30796%14 of 15290%1614210254461
truncatedCompareTo(Calendar, Calendar, int)120%n/a113311
truncatedCompareTo(Date, Date, int)120%n/a113311
truncatedEquals(Calendar, Calendar, int)90%20%221111
truncatedEquals(Date, Date, int)90%20%221111
iterator(Calendar, int)12798%22090%21423901
modify(Calendar, int, DateUtils.ModifyType)308100%67100%03506301
getFragment(Calendar, int, TimeUnit)101100%11100%0901701
static {...}92100%n/a010101
parseDateWithLeniency(String, Locale, String[], boolean)82100%6100%0401601
isSameLocalTime(Calendar, Calendar)66100%7956%7901001
ceiling(Object, int)34100%4100%030601
isSameDay(Calendar, Calendar)33100%1583%140501
round(Object, int)33100%4100%030601
truncate(Object, int)33100%4100%030601
iterator(Object, int)32100%4100%030601
isSameInstant(Calendar, Calendar)20100%2100%020301
isSameInstant(Date, Date)18100%2100%020301
set(Date, int, int)17100%n/a010601
add(Date, int, int)14100%n/a010501
getFragment(Date, int, TimeUnit)12100%n/a010401
ceiling(Calendar, int)11100%n/a010201
round(Calendar, int)11100%n/a010201
toCalendar(Date, TimeZone)11100%n/a010301
truncate(Calendar, int)11100%n/a010201
toCalendar(Date)10100%n/a010301
ceiling(Date, int)7100%n/a010101
round(Date, int)7100%n/a010101
truncate(Date, int)7100%n/a010101
isSameDay(Date, Date)6100%n/a010101
parseDate(String, Locale, String[])6100%n/a010101
parseDateStrictly(String, Locale, String[])6100%n/a010101
addDays(Date, int)5100%n/a010101
addHours(Date, int)5100%n/a010101
addMilliseconds(Date, int)5100%n/a010101
addMinutes(Date, int)5100%n/a010101
addMonths(Date, int)5100%n/a010101
addSeconds(Date, int)5100%n/a010101
addWeeks(Date, int)5100%n/a010101
addYears(Date, int)5100%n/a010101
getFragmentInDays(Calendar, int)5100%n/a010101
getFragmentInDays(Date, int)5100%n/a010101
getFragmentInHours(Calendar, int)5100%n/a010101
getFragmentInHours(Date, int)5100%n/a010101
getFragmentInMilliseconds(Calendar, int)5100%n/a010101
getFragmentInMilliseconds(Date, int)5100%n/a010101
getFragmentInMinutes(Calendar, int)5100%n/a010101
getFragmentInMinutes(Date, int)5100%n/a010101
getFragmentInSeconds(Calendar, int)5100%n/a010101
getFragmentInSeconds(Date, int)5100%n/a010101
iterator(Date, int)5100%n/a010101
parseDate(String, String[])5100%n/a010101
parseDateStrictly(String, String[])5100%n/a010101
setDays(Date, int)5100%n/a010101
setHours(Date, int)5100%n/a010101
setMilliseconds(Date, int)5100%n/a010101
setMinutes(Date, int)5100%n/a010101
setMonths(Date, int)5100%n/a010101
setSeconds(Date, int)5100%n/a010101
setYears(Date, int)5100%n/a010101
validateDateNotNull(Date)5100%n/a010201
DateUtils()3100%n/a010201