/external/lldb/test/functionalities/command_source/ |
my.py | 3 today = datetime.date.today() 4 print today
|
TestCommandSource.py | 39 substrs = [str(datetime.date.today())])
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
DateUtils.java | 233 final Calendar today = Calendar.getInstance(); local 234 today.setTime(new Date()); 236 // Round the current time to the exact start of today so that when we compare 237 // today against the target date, both dates are set to exactly 0000H. 238 today.set(Calendar.HOUR_OF_DAY, 0); 239 today.set(Calendar.MINUTE, 0); 240 today.set(Calendar.SECOND, 0); 241 today.set(Calendar.MILLISECOND, 0); 249 // Convert from the UTC date to the local date. Set the year to today's year if the 251 anniversary.set(!isYearSet ? today.get(Calendar.YEAR) : targetYear [all...] |
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
WordWidget.java | 53 // Build the widget update for today 84 Time today = new Time(); local 85 today.setToNow(); 87 // Build the page title for today, such as "March 21" 89 monthNames[today.month], today.monthDay); 93 // Try querying the Wiktionary API for today's word
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
WordWidget.java | 54 // Build the widget update for today 73 Time today = new Time(); local 74 today.setToNow(); 76 // Build today's page title, like "Wiktionary:Word of the day/March 21" 78 monthNames[today.month], today.monthDay); 83 // Try querying the Wiktionary API for today's word
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
mkfts2amal.tcl | 25 set today [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S UTC" -gmt 1] 35 ** This amalgamation was generated on $today.
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
mkfts3amal.tcl | 25 set today [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S UTC" -gmt 1] 35 ** This amalgamation was generated on $today.
|
/libcore/luni/src/test/java/libcore/icu/ |
LocaleDataTest.java | 26 // System.err.format("%20s %s %s %s\n", l, d.yesterday, d.today, d.tomorrow); 55 assertEquals("Today", l.today); 63 assertEquals("Heute", l.today); 84 assertEquals("??", l.today);
|
/external/chromium_org/third_party/skia/tools/copyright/ |
fileparser.py | 61 DEFAULT_YEAR = datetime.date.today().year
|
/external/chromium_org/tools/ |
boilerplate.py | 18 date.today().year,
|
/external/skia/tools/copyright/ |
fileparser.py | 61 DEFAULT_YEAR = datetime.date.today().year
|
/external/chromium_org/third_party/sqlite/src/tool/ |
mksqlite3internalh.tcl | 44 set today [clock format [clock seconds] -format "%Y-%m-%d %H:%M:%S UTC" -gmt 1]
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertUtils.java | 150 * 2) No date for today 159 int today = Time.getJulianDay(time.toMillis(false), time.gmtoff); 173 if (eventDay < today || eventDay > today + 1) { 188 if (eventDay == today + 1) {
|
/frameworks/base/core/java/android/widget/ |
SimpleMonthView.java | 106 // If this view contains the today 112 // Which day is today [0-6] or -1 if no day is today 338 // Figure out what day today is 339 final Time today = new Time(Time.getCurrentTimezone()); local 340 today.setToNow(); 365 if (sameDay(day, today)) { 410 private boolean sameDay(int day, Time today) { 411 return mYear == today.year && 412 mMonth == today.month & [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthView.java | 155 // If this view contains the today 159 // Which day is today [0-6] or -1 if no day is today 361 // Figure out what day today is 362 final Time today = new Time(Time.getCurrentTimezone()); local 363 today.setToNow(); 381 if (sameDay(day, today)) { 408 private boolean sameDay(int day, Time today) { 409 return mYear == today.year && 410 mMonth == today.month & [all...] |
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
calendarPicker.css | 83 .day-cell.highlighted.today, 84 .day-cell.today { 195 .today-button::after {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ObjectStreamFieldTest.java | 216 assertEquals(SerializableObject2.today, getField.get("d", null)); 329 public static Date today = new Date(1172632429156l); field in class:SerializableObject2 338 putField.put("d", today);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
BuildPreferencePage.java | 318 Date today = new Date(); local 319 if (certificate.getNotAfter().compareTo(today) < 0) { 324 if (certificate.getNotBefore().compareTo(today) > 0) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/ |
KeyCheckPage.java | 227 Calendar today = Calendar.getInstance(); local 229 if (expirationCalendar.before(today)) { 248 int thisYear = today.get(Calendar.YEAR);
|
/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 29 * Today 58 mBins[0] = c.getTimeInMillis(); // Today 63 c.add(Calendar.DAY_OF_YEAR, NUM_DAYS_AGO); // move back to today 73 mLabels[0] = localeData.today;
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
SimpleWeekView.java | 141 // If this view contains the today 145 // Which day is today [0-6] or -1 if no day is today 157 // The timezone to display times/dates in (used for determining when Today 276 // Figure out what day today is 277 Time today = new Time(tz); local 278 today.setToNow(); 296 if (time.year == today.year && time.yearDay == today.yearDay) {
|
/external/chromium_org/third_party/skia/experimental/webtry/poly/ |
Gruntfile.js | 35 banner: '/*! <%= pkg.name %> built from /exerimental/webtry/poly <%= grunt.template.today("yyyy-mm-dd") %> */\n'
|
/external/skia/experimental/webtry/poly/ |
Gruntfile.js | 35 banner: '/*! <%= pkg.name %> built from /exerimental/webtry/poly <%= grunt.template.today("yyyy-mm-dd") %> */\n'
|
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 412 * today this function returns "Today", if the day was a week ago it returns "7 days ago", and 417 * @param today the current time in UTC milliseconds 419 private static final String getRelativeDayString(Resources r, long day, long today) { 431 currentTime.set(today); 432 int currentDay = Time.getJulianDay(today, currentTime.gmtoff); 435 boolean past = (today > day); 437 // TODO: some locales name other days too, such as de_DE's "Vorgestern" (today - 2). 445 return LocaleData.get(locale).today; 589 * @return true if the supplied when is today else fals [all...] |
/development/testrunner/ |
create_test.py | 110 "YEAR":datetime.date.today().year}
|