Home
last modified time | relevance | path

Searched refs:month (Results 1 – 10 of 10) sorted by relevance

/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarm.java34 public int month; field in Alarm
43 public Alarm(int id, int month, int date, int hour, int minute) { in Alarm() argument
45 this.month = month; in Alarm()
63 jsonObject.put("month", month); in toJson()
85 alarm.month = jsonObject.getInt("month"); in fromJson()
100 ", month=" + month + in toString()
117 month == alarm.month && in equals()
125 return Objects.hash(id, month, date, hour, minute); in hashCode()
131 calendar.set(Calendar.MONTH, month); in compareTo()
137 otherCal.set(Calendar.MONTH, other.month); in compareTo()
DAlarmUtil.java55 alarmTime.set(Calendar.MONTH, alarm.month); in scheduleAlarm()
67 alarm.month, alarm.date)); in scheduleAlarm()
102 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH); in readAlarm() local
107 return new Alarm(id, month, date, hour, minute); in readAlarm()
113 extras.putInt(AlarmIntentService.KEY_ALARM_MONTH, alarm.month); in writeAlarm()
DAlarmStorage.java68 public Alarm saveAlarm(int month, int date, int hour, int minute) { in saveAlarm() argument
72 alarm.month = month; in saveAlarm()
DAlarmAdapter.java73 alarmTime.set(Calendar.MONTH, alarm.month); in onBindViewHolder()
/development/scripts/
Daday10 month = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.index(letter) * 3
11 year = 2009 + (month / 12)
12 month %= 12
14 return datetime.date(year, month + 1, 1) + datetime.timedelta(days=day - 1)
Dadd3prf.py88 year, month, day = "", "", ""
97 month = match.group(2)
103 year, month, day = match.group(1), match.group(2), match.group(3)
104 if year and month and day:
105 print("### Reuse date in METADATA:", year, month, day)
106 return int(year), int(month), int(day)
108 return today.year, today.month, today.day
117 year, month, day = get_metadata_date()
124 license_comment=license_comment, year=year, month=month, day=day))
/development/tools/repo_diff/service/repodiff/utils/
Dtime.go15 year, month, day := t.Unix(int64(timestamp), 0).Date()
16 return fmt.Sprintf("%04d-%02d-%02d", year, month, day)
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DWordWidget.java78 monthNames[today.month], today.monthDay); in buildUpdate()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DWordWidget.java89 monthNames[today.month], today.monthDay); in buildUpdate()
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt798 quarterly - a. in three month intervals