Home
last modified time | relevance | path

Searched refs:weeks (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/calendar/src/com/android/calendarcommon2/
DDuration.java32 public int weeks; field in Duration
50 weeks = 0; in parse()
100 weeks = n; in parse()
134 cal.add(Calendar.DAY_OF_MONTH, sign*weeks*7); in addTo()
147 return factor * ((7*24*60*60*weeks) in getMillis()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DDurationTest.java27 int sign, int weeks, int days, int hours, in verifyDuration() argument
34 assertEquals("Duration weeks is not equal for " + str, weeks, duration.weeks); in verifyDuration()