/external/python/cpython2/Doc/includes/sqlite3/ |
execsql_fetchonerow.py | 12 print '%s is %d years old.' % (name_last, age) 17 print '%s is %d years old.' % (row[0], row[1])
|
/external/python/cpython3/Doc/includes/sqlite3/ |
execsql_fetchonerow.py | 12 print('%s is %d years old.' % (name_last, age)) 17 print('%s is %d years old.' % (row[0], row[1]))
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
ChronoPeriodImpl.java | 62 import static java.time.temporal.ChronoUnit.YEARS; 109 Collections.unmodifiableList(Arrays.<TemporalUnit>asList(YEARS, MONTHS, DAYS)); 116 * The number of years. 118 final int years; field in class:ChronoPeriodImpl 131 ChronoPeriodImpl(Chronology chrono, int years, int months, int days) { 134 this.years = years; 142 if (unit == ChronoUnit.YEARS) { 143 return years; 166 return years == 0 && months == 0 && days == 0 395 int years = in.readInt(); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/testdata/ |
testdata_en.txt | 19 3 years ago 20 2 years ago 22 0 years 24 2 years from now 25 3 years from now 26 5 years from now 27 10 years from now 28 11 years from now 29 12 years from now 30 20 years from no [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/ |
testdata_en.txt | 19 3 years ago 20 2 years ago 22 0 years 24 2 years from now 25 3 years from now 26 5 years from now 27 10 years from now 28 11 years from now 29 12 years from now 30 20 years from no [all...] |
/libcore/ojluni/src/main/java/java/time/ |
Period.java | 66 import static java.time.temporal.ChronoUnit.YEARS; 96 * such as '2 years, 3 months and 4 days'. 98 * This class models a quantity or amount of time in terms of years, months and days. 113 * The supported units of a period are {@link ChronoUnit#YEARS YEARS}, 119 * system, in which today's rules for leap years are applied for all time. 150 Collections.unmodifiableList(Arrays.<TemporalUnit>asList(YEARS, MONTHS, DAYS)); 153 * The number of years. 155 private final int years; field in class:Period 167 * Obtains a {@code Period} representing a number of years 264 int years = 0; local 333 int years = parseNumber(text, yearMatch, negate); local 1069 int years = in.readInt(); local [all...] |
/external/python/cpython2/Lib/idlelib/ |
idlever.py | 2 The separate Idle version was eliminated years ago;
|
/external/syslinux/com32/lib/libpng/ |
Y2KINFO | 14 that will hold years up to 65535. The other two hold the date in text 15 format, and will hold years up to 9999. 39 libpng are not passing 4-digit years into the png_convert_to_rfc_1123() 43 stated that it works with 4-digit years, and the APIs have been 47 integer to hold the year, and can hold years as large as 65535.
|
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/ |
CreditCardSpinnersActivity.java | 34 private final String[] years = new String[CC_EXP_YEARS_COUNT]; field in class:CreditCardSpinnersActivity 79 for (int i = 0; i < years.length; i++) { 80 years[i] = Integer.toString(year + i); 82 // Since the years Spinner uses a custom adapter, it needs to implement getAutofillOptions. 84 new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item, years) { 87 return years;
|
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/commoncases/ |
CreditCardSpinnersActivity.java | 37 private final String[] years = new String[CC_EXP_YEARS_COUNT]; field in class:CreditCardSpinnersActivity 77 for (int i = 0; i < years.length; i++) { 78 years[i] = Integer.toString(year + i); 80 // Since the years Spinner uses a custom adapter, it needs to implement getAutofillOptions. 82 new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item, years) { 85 return years;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
unbirthday.py | 6 # Leap years make it interesting.
69 print 'You are', age, 'years old'
91 days = year*365 # years, roughly
92 days = days + (year+3)//4 # plus leap years, roughly
93 days = days - (year+99)//100 # minus non-leap years every century
94 days = days + (year+399)//400 # plus leap years every 4 centirues
|
/external/python/cpython2/Demo/scripts/ |
unbirthday.py | 6 # Leap years make it interesting. 69 print 'You are', age, 'years old' 91 days = year*365 # years, roughly 92 days = days + (year+3)//4 # plus leap years, roughly 93 days = days - (year+99)//100 # minus non-leap years every century 94 days = days + (year+399)//400 # plus leap years every 4 centirues
|
/bionic/libc/kernel/android/ |
README.TXT | 12 scsi headers and haven't substantially updated them in 15 years. The
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CreditCardExpirationDateView.kt | 53 val years = arrayOfNulls<String>(CC_EXP_YEARS_COUNT) 54 for (i in 0 until years.size) { 55 years[i] = Integer.toString(startYear + i) 68 android.R.layout.simple_spinner_item, years)
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
CreditCardExpirationDateView.kt | 53 val years = arrayOfNulls<String>(CC_EXP_YEARS_COUNT) 54 for (i in 0 until years.size) { 55 years[i] = Integer.toString(startYear + i) 68 android.R.layout.simple_spinner_item, years)
|
/external/jemalloc/include/jemalloc/internal/ |
nstime.h | 6 /* Maximum supported number of seconds (~584 years). */
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
YearPickerView.java | 38 * Displays a selectable list of years. 72 ArrayList<String> years = new ArrayList<String>(); local 74 years.add(String.format("%d", year)); 76 mAdapter = new YearAdapter(context, R.layout.year_label_text_view, years);
|
/toolchain/binutils/binutils-2.27/include/som/ |
ChangeLog-1015 | 7 Update copyright years.
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 61 {0.0, Direction.NEXT, RelativeUnit.YEARS, "in 0 years"}, 62 {0.5, Direction.NEXT, RelativeUnit.YEARS, "in 0.5 years"}, 63 {1.0, Direction.NEXT, RelativeUnit.YEARS, "in 1 year"}, 64 {2.0, Direction.NEXT, RelativeUnit.YEARS, "in 2 years"}, 90 {0.0, Direction.LAST, RelativeUnit.YEARS, "0 years ago"}, 91 {0.5, Direction.LAST, RelativeUnit.YEARS, "0.5 years ago"} [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 58 {0.0, Direction.NEXT, RelativeUnit.YEARS, "in 0 years"}, 59 {0.5, Direction.NEXT, RelativeUnit.YEARS, "in 0.5 years"}, 60 {1.0, Direction.NEXT, RelativeUnit.YEARS, "in 1 year"}, 61 {2.0, Direction.NEXT, RelativeUnit.YEARS, "in 2 years"}, 87 {0.0, Direction.LAST, RelativeUnit.YEARS, "0 years ago"}, 88 {0.5, Direction.LAST, RelativeUnit.YEARS, "0.5 years ago"} [all...] |
/external/curl/docs/ |
ROADMAP.md | 1 curl the next few years - perhaps 41 definitions and such like that are currently earmarked to be removed years
|
/external/toybox/kconfig/ |
README | 15 than the author of squashfs, who spent 5 years actively trying to get his code 18 for years. No really, here's where he wrote about it himself:
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
TestChronoLocalDate.java | 89 dates.add(date.minus(10, ChronoUnit.YEARS)); 90 dates.add(date.minus(1, ChronoUnit.YEARS)); 98 dates.add(date.plus(1, ChronoUnit.YEARS)); 99 dates.add(date.plus(10, ChronoUnit.YEARS)); 113 dates.add(date.minus(10, ChronoUnit.YEARS)); 114 dates.add(date.minus(1, ChronoUnit.YEARS)); 122 dates.add(date.plus(1, ChronoUnit.YEARS)); 123 dates.add(date.plus(10, ChronoUnit.YEARS));
|
/bionic/libc/tzcode/ |
asctime.c | 24 ** All years associated with 32-bit time_t values are exactly four digits long; 25 ** some years associated with 64-bit time_t values are not. 26 ** Vintage programs are coded for years that are always four digits long 28 ** For years that are less than four digits, we pad the output with 31 ** we call a strftime variant that produces fewer characters for some years. 41 ** For years that are more than four digits we put extra spaces before the year
|
/external/icu/icu4c/source/tools/tzcode/ |
asctime.c | 24 ** All years associated with 32-bit time_t values are exactly four digits long; 25 ** some years associated with 64-bit time_t values are not. 26 ** Vintage programs are coded for years that are always four digits long 28 ** For years that are less than four digits, we pad the output with 31 ** we call a strftime variant that produces fewer characters for some years. 41 ** For years that are more than four digits we put extra spaces before the year
|