Home
last modified time | relevance | path

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

12345678910>>...22

/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()
460 int year = get(YEAR); in add() local
542 int year = get(YEAR); in roll() local
608 private static long startOfYear(int year) in startOfYear()
662 private final int yearType(int year) in yearType()
695 public static boolean isLeapYear(int year) { in isLeapYear()
701 private static int monthsInYear(int year) { in monthsInYear()
805 int year = (int)(floorDivide((19 * m + 234), 235) + 1); // Years (approx) in handleComputeFields() local
844 int year; in handleGetExtendedYear() local
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
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 double IndianToJD(int year, int month, int date) { in IndianToJD()
507 private double gregorianToJD(int year, int month, int date) { in gregorianToJD()
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()
281 int year; in handleGetExtendedYear() local
348 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()
437 int year = get(YEAR); in add() local
518 int year = get(YEAR); in roll() local
584 private static long startOfYear(int year) in startOfYear()
638 private final int yearType(int year) in yearType()
672 public static boolean isLeapYear(int year) { in isLeapYear()
678 private static int monthsInYear(int year) { in monthsInYear()
779 int year = (int)(floorDivide((19 * m + 234), 235) + 1); // Years (approx) in handleComputeFields() local
817 int year; in handleGetExtendedYear() local
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
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 double IndianToJD(int year, int month, int date) { in IndianToJD()
478 private double gregorianToJD(int year, int month, int date) { in gregorianToJD()
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()
270 int year; in handleGetExtendedYear() local
334 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/tensorflow/tensorflow/python/compat/
Dcompat.py41 def _date_to_date_number(year, month, day): argument
70 def forward_compatible(year, month, day): argument
131 def forward_compatibility_horizon(year, month, day): argument
/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/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()
/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.cpp41 static UBool isValidRuleStartDate(int32_t year, int32_t month, int32_t day) { in isValidRuleStartDate()
56 static int32_t encodeDate(int32_t year, int32_t month, int32_t day) { in encodeDate()
81 static int32_t compareEncodedDateWithYMD(int encoded, int year, int month, int day) { in compareEncodedDateWithYMD()
246 int year = MAX_INT32; // bogus value in getStartYear() local
261 int32_t EraRules::getEraIndex(int32_t year, int32_t month, int32_t day, UErrorCode& status) const { in getEraIndex()
308 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()
475 UBool HebrewCalendar::isLeapYear(int32_t year) { in isLeapYear()
481 int32_t HebrewCalendar::monthsInYear(int32_t year) { in monthsInYear()
571 …int32_t year = (int32_t)(ClockMath::floorDivide((19. * m + 234.), 235.) + 1.); // Years (appro… in handleComputeFields() local
623 int32_t year; in handleGetExtendedYear() local
/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/rust/crates/rustversion/src/
Ddate.rs9 pub year: u16, field
32 let year = token::parse_literal(iter).map_err(drop)?; in try_parse() localVariable
38 let year = year.to_string().parse::<u64>().map_err(drop)?; in try_parse() localVariable
/external/libcxx/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.members/
Ddecrement.pass.cpp36 using year = std::chrono::year; in main() typedef
47 year year(i); in main() local
Dctor.pass.cpp29 using year = std::chrono::year; in main() typedef
43 year year(i); in main() local
Dincrement.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
Dplus_minus_equal.pass.cpp38 using year = std::chrono::year; in main() typedef
51 year year(i); in main() local
/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
/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

12345678910>>...22