Home
last modified time | relevance | path

Searched defs:year (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHebrewCalendar.java363 public HebrewCalendar(int year, int month, int date) { in HebrewCalendar()
402 public HebrewCalendar(int year, int month, int date, int hour, in HebrewCalendar()
459 int year = get(YEAR); in add() local
540 int year = get(YEAR); in roll() local
606 private static long startOfYear(int year) in startOfYear()
659 private final int yearType(int year) in yearType()
692 public static boolean isLeapYear(int year) { in isLeapYear()
698 private static int monthsInYear(int year) { in monthsInYear()
797 int year = (int)((19 * m + 234) / 235) + 1; // Years (approx) in handleComputeFields() local
835 int year; in handleGetExtendedYear() local
DIndianCalendar.java256 public IndianCalendar(int year, int month, int date) { in IndianCalendar()
283 public IndianCalendar(int year, int month, int date, int hour, in IndianCalendar()
313 int year; in handleGetExtendedYear() local
442 protected int handleComputeMonthStart(int year, int month, boolean useMonth) { in handleComputeMonthStart()
468 private static double IndianToJD(int year, int month, int date) { in IndianToJD()
507 private static double gregorianToJD(int year, int month, int date) { in gregorianToJD()
528 int year, month, day; in jdToGregorian() local
568 private static boolean isGregorianLeap(int year) in isGregorianLeap()
DPersianCalendar.java223 public PersianCalendar(int year, int month, int date) in PersianCalendar()
251 public PersianCalendar(int year, int month, int date, int hour, in PersianCalendar()
310 private final static boolean isLeapYear(int year) in isLeapYear()
392 int year; in handleGetExtendedYear() local
420 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
DJapaneseCalendar.java175 public JapaneseCalendar(int era, int year, int month, int date) { in JapaneseCalendar()
194 public JapaneseCalendar(int year, int month, int date) { in JapaneseCalendar()
219 public JapaneseCalendar(int year, int month, int date, int hour, in JapaneseCalendar()
272 int year; in handleGetExtendedYear() local
339 int year = internalGet(EXTENDED_YEAR); in handleComputeFields() local
/external/icu/android_icu4j/src/main/java/android/icu/util/
DHebrewCalendar.java343 public HebrewCalendar(int year, int month, int date) { in HebrewCalendar()
380 public HebrewCalendar(int year, int month, int date, int hour, in HebrewCalendar()
436 int year = get(YEAR); in add() local
516 int year = get(YEAR); in roll() local
582 private static long startOfYear(int year) in startOfYear()
635 private final int yearType(int year) in yearType()
669 public static boolean isLeapYear(int year) { in isLeapYear()
675 private static int monthsInYear(int year) { in monthsInYear()
771 int year = (int)((19 * m + 234) / 235) + 1; // Years (approx) in handleComputeFields() local
808 int year; in handleGetExtendedYear() local
DIndianCalendar.java234 public IndianCalendar(int year, int month, int date) { in IndianCalendar()
260 public IndianCalendar(int year, int month, int date, int hour, in IndianCalendar()
289 int year; in handleGetExtendedYear() local
413 protected int handleComputeMonthStart(int year, int month, boolean useMonth) { in handleComputeMonthStart()
439 private static double IndianToJD(int year, int month, int date) { in IndianToJD()
478 private static double gregorianToJD(int year, int month, int date) { in gregorianToJD()
499 int year, month, day; in jdToGregorian() local
539 private static boolean isGregorianLeap(int year) in isGregorianLeap()
DPersianCalendar.java226 public PersianCalendar(int year, int month, int date) in PersianCalendar()
254 public PersianCalendar(int year, int month, int date, int hour, in PersianCalendar()
313 private final static boolean isLeapYear(int year) in isLeapYear()
395 int year; in handleGetExtendedYear() local
423 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
DJapaneseCalendar.java167 public JapaneseCalendar(int era, int year, int month, int date) { in JapaneseCalendar()
185 public JapaneseCalendar(int year, int month, int date) { in JapaneseCalendar()
209 public JapaneseCalendar(int year, int month, int date, int hour, in JapaneseCalendar()
261 int year; in handleGetExtendedYear() local
325 int year = internalGet(EXTENDED_YEAR); in handleComputeFields() local
/external/python/cpython2/Demo/classes/
DDates.py62 def _is_leap(year): # 1 if leap year, else 0 argument
67 def _days_in_year(year): # number of days in year argument
70 def _days_before_year(year): # number of days before year argument
73 def _days_in_month(month, year): # number of days in month of year argument
77 def _days_before_month(month, year): # number of days in year before month argument
121 def __init__(self, month, day, year): argument
/external/libcxx/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/
Dincrement.pass.cpp36 using year = std::chrono::year; in main() typedef
47 year year(i); in main() local
Ddecrement.pass.cpp36 using year = std::chrono::year; in main() typedef
47 year year(i); in main() local
Dplus_minus.pass.cpp34 using year = std::chrono::year; in main() typedef
46 year year(i); in main() local
Dctor.pass.cpp29 using year = std::chrono::year; in main() typedef
43 year year(i); in main() local
Dplus_minus_equal.pass.cpp38 using year = std::chrono::year; in main() typedef
51 year year(i); in main() local
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DGrego.java64 public static final boolean isLeapYear(int year) { in isLeapYear()
75 public static final int monthLength(int year, int month) { in monthLength()
85 public static final int previousMonthLength(int year, int month) { in previousMonthLength()
97 public static long fieldsToDay(int year, int month, int dom) { in fieldsToDay()
132 int year = (int)(400 * n400 + 100 * n100 + 4 * n4 + n1); in dayToFields() local
207 public static int getDayOfWeekInMonth(int year, int month, int dayOfMonth) { in getDayOfWeekInMonth()
DEraRules.java177 public int getEraIndex(int year, int month, int day) { in getEraIndex()
237 private static boolean isValidRuleStartDate(int year, int month, int day) { in isValidRuleStartDate()
252 private static int encodeDate(int year, int month, int day) { in encodeDate()
257 int year, month, day; in decodeDate() local
288 private static int compareEncodedDateWithYMD(int encoded, int year, int month, int day) { in compareEncodedDateWithYMD()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java62 public static final boolean isLeapYear(int year) { in isLeapYear()
73 public static final int monthLength(int year, int month) { in monthLength()
83 public static final int previousMonthLength(int year, int month) { in previousMonthLength()
95 public static long fieldsToDay(int year, int month, int dom) { in fieldsToDay()
130 int year = (int)(400 * n400 + 100 * n100 + 4 * n4 + n1); in dayToFields() local
205 public static int getDayOfWeekInMonth(int year, int month, int dayOfMonth) { in getDayOfWeekInMonth()
/external/icu/icu4c/source/i18n/
Dpersncal.cpp110 UBool PersianCalendar::isLeapYear(int32_t year) in isLeapYear()
121 int32_t PersianCalendar::yearStart(int32_t year) { in yearStart()
132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
189 int32_t year; in handleGetExtendedYear() local
213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
Derarules.cpp38 static UBool isValidRuleStartDate(int32_t year, int32_t month, int32_t day) { in isValidRuleStartDate()
53 static int32_t encodeDate(int32_t year, int32_t month, int32_t day) { in encodeDate()
78 static int32_t compareEncodedDateWithYMD(int encoded, int year, int month, int day) { in compareEncodedDateWithYMD()
243 int year = MAX_INT32; // bogus value in getStartYear() local
258 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex()
292 int year, month0, dom, dow, doy, mid; in initCurrentEra() local
Dhebrwcal.cpp228 int32_t year = get(UCAL_YEAR, status); in add() local
320 int32_t year = get(UCAL_YEAR, status); in roll() local
390 int32_t HebrewCalendar::startOfYear(int32_t year, UErrorCode &status) in startOfYear()
474 UBool HebrewCalendar::isLeapYear(int32_t year) { in isLeapYear()
480 int32_t HebrewCalendar::monthsInYear(int32_t year) { in monthsInYear()
570 int32_t year = (int32_t)( ((19. * m + 234.) / 235.) + 1.); // Years (approx) in handleComputeFields() local
622 int32_t year; in handleGetExtendedYear() local
/external/tensorflow/tensorflow/python/compat/
Dcompat.py34 def forward_compatible(year, month, day): argument
93 def forward_compatibility_horizon(year, month, day): argument
/external/python/cpython3/Lib/
Dcalendar.py100 def isleap(year): argument
113 def weekday(year, month, day): argument
120 def monthrange(year, month): argument
130 def monthlen(year, month): argument
134 def prevmonth(year, month): argument
141 def nextmonth(year, month): argument
173 def itermonthdates(self, year, month): argument
182 def itermonthdays(self, year, month): argument
194 def itermonthdays2(self, year, month): argument
202 def itermonthdays3(self, year, month): argument
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDatePickerDialog.java20 private int year; field in ShadowDatePickerDialog
30 int year, in __constructor__()
53 int year, in __constructor__()
/external/python/cpython2/Demo/scripts/
Dunbirthday.py78 def format((year, month, day)): argument
87 def mkdate((year, month, day)): argument
/external/protobuf/src/google/protobuf/stubs/
Dtime.cc29 int64 SecondsPer100Years(int year) { in SecondsPer100Years()
39 int64 SecondsPer4Years(int year) { in SecondsPer4Years()
50 bool IsLeapYear(int year) { in IsLeapYear()
54 int64 SecondsPerYear(int year) { in SecondsPerYear()
95 int year = 1; in SecondsSinceCommonEra() local
217 int year = 1; in SecondsToDateTime() local

12345678910>>...16