Home
last modified time | relevance | path

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

123456789

/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.java157 public JapaneseCalendar(int era, int year, int month, int date) { in JapaneseCalendar()
176 public JapaneseCalendar(int year, int month, int date) { in JapaneseCalendar()
201 public JapaneseCalendar(int year, int month, int date, int hour, in JapaneseCalendar()
219 int year; in handleGetExtendedYear() local
282 int year = internalGet(EXTENDED_YEAR); in handleComputeFields() local
DCopticCalendar.java203 public CopticCalendar(int year, int month, int date) { in CopticCalendar()
231 public CopticCalendar(int year, int month, int date, int hour, in CopticCalendar()
273 int era, year; in handleComputeFields() local
320 public static int copticToJD(long year, int month, int date) { in copticToJD()
DTaiwanCalendar.java155 public TaiwanCalendar(int year, int month, int date) { in TaiwanCalendar()
173 public TaiwanCalendar(int year, int month, int date, int hour, in TaiwanCalendar()
199 int year = GREGORIAN_EPOCH; in handleGetExtendedYear() local
DIslamicCalendar.java285 public IslamicCalendar(int year, int month, int date) in IslamicCalendar()
310 public IslamicCalendar(int year, int month, int date, int hour, in IslamicCalendar()
578 private final static boolean civilLeapYear(int year) in civilLeapYear()
587 private long yearStart(int year) { in yearStart()
612 private long monthStart(int year, int month) { in monthStart()
818 int year; in handleGetExtendedYear() local
845 int year =0, month=0, dayOfMonth=0, dayOfYear=0; 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.java225 public PersianCalendar(int year, int month, int date) in PersianCalendar()
253 public PersianCalendar(int year, int month, int date, int hour, in PersianCalendar()
312 private final static boolean isLeapYear(int year) in isLeapYear()
394 int year; in handleGetExtendedYear() local
422 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
DJapaneseCalendar.java149 public JapaneseCalendar(int era, int year, int month, int date) { in JapaneseCalendar()
167 public JapaneseCalendar(int year, int month, int date) { in JapaneseCalendar()
191 public JapaneseCalendar(int year, int month, int date, int hour, in JapaneseCalendar()
208 int year; in handleGetExtendedYear() local
268 int year = internalGet(EXTENDED_YEAR); in handleComputeFields() local
DCopticCalendar.java183 public CopticCalendar(int year, int month, int date) { in CopticCalendar()
209 public CopticCalendar(int year, int month, int date, int hour, in CopticCalendar()
252 int era, year; in handleComputeFields() local
299 public static int copticToJD(long year, int month, int date) { in copticToJD()
DTaiwanCalendar.java144 public TaiwanCalendar(int year, int month, int date) { in TaiwanCalendar()
161 public TaiwanCalendar(int year, int month, int date, int hour, in TaiwanCalendar()
186 int year = GREGORIAN_EPOCH; in handleGetExtendedYear() local
DIslamicCalendar.java260 public IslamicCalendar(int year, int month, int date) in IslamicCalendar()
284 public IslamicCalendar(int year, int month, int date, int hour, in IslamicCalendar()
551 private final static boolean civilLeapYear(int year) in civilLeapYear()
560 private long yearStart(int year) { in yearStart()
585 private long monthStart(int year, int month) { in monthStart()
786 int year; in handleGetExtendedYear() local
812 int year =0, month=0, dayOfMonth=0, dayOfYear=0; in handleComputeFields() local
DBuddhistCalendar.java143 public BuddhistCalendar(int year, int month, int date) { in BuddhistCalendar()
164 public BuddhistCalendar(int year, int month, int date, int hour, in BuddhistCalendar()
188 int year; in handleGetExtendedYear() 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/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
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
Dgregoimp.cpp83 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { in fieldsToDay()
94 void Grego::dayToFields(double day, int32_t& year, int32_t& month, in dayToFields()
132 void Grego::timeToFields(UDate time, int32_t& year, int32_t& month, in timeToFields()
146 int32_t Grego::dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom) { in dayOfWeekInMonth()
Dgregoimp.h260 inline UBool Grego::isLeapYear(int32_t year) { in isLeapYear()
266 Grego::monthLength(int32_t year, int32_t month) { in monthLength()
275 inline void Grego::dayToFields(double day, int32_t& year, int32_t& month, in dayToFields()
/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
/external/apache-http/android/src/android/net/http/
DLegacyHttpDateTime.java90 int year = 1970; in parse() local
183 int year = (yearString.charAt(0) - '0') * 10 in getYear() local
192 int year = (yearString.charAt(0) - '0') * 100 in getYear() local

123456789