• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/

Lines Matching refs:year

323         // leap year from 1700 through 1740 the eleven superfluous days would
328 // So 1700 (which should have been a leap year in the Julian calendar)
329 // was not a leap year in Sweden. However, by mistake 1704 and 1708
333 // day in 1712, making that year a double leap year! So in 1712,
394 // invalid value for the year
457 int year;
507 // return the current year
510 // convert the year as returned by wxDateTime::GetYear() to a year
511 // suitable for BC/AD notation. The difference is that BC year 1
512 // corresponds to the year 0 (while BC year 0 didn't exist) and AD
513 // year N is just year N.
514 static int ConvertYearToBC(int year);
519 // returns true if the given year is a leap year in the given calendar
520 static bool IsLeapYear(int year = Inv_Year, Calendar cal = Gregorian);
523 static int GetCentury(int year);
525 // returns the number of days in this year (356 or 355 for Gregorian
527 static wxDateTime_t GetNumberOfDays(int year, Calendar cal = Gregorian);
530 // the year means the current one)
532 int year = Inv_Year,
548 // return true if the given country uses DST for this year
549 static bool IsDSTApplicable(int year = Inv_Year,
552 // get the beginning of DST for this year, will return invalid object
553 // if no DST applicable in this year. The default value of the
554 // parameter means to take the current year.
555 static wxDateTime GetBeginDST(int year = Inv_Year,
557 // get the end of DST for this year, will return invalid object
558 // if no DST applicable in this year. The default value of the
559 // parameter means to take the current year.
560 static wxDateTime GetEndDST(int year = Inv_Year,
576 // parameters mean take current month and/or year values.
603 int year = Inv_Year, // 1999, not 99 please!
643 // (defaults for month and year are the current values)
646 int year = Inv_Year, // 1999, not 99 please!
664 // set the year
665 wxDateTime& SetYear(int year);
710 // given year (time is set to 0), return true on success and false on
716 int year = Inv_Year);
720 int year = Inv_Year) const;
722 // sets to the last weekday in the given month, year
725 int year = Inv_Year);
728 int year = Inv_Year);
731 // sets the date to the given day of the given week in the year,
746 // week (in ISO notation) of the specified year
747 static wxDateTime SetToWeekOfYear(int year,
752 // given (or current) year
754 int year = Inv_Year);
756 int year = Inv_Year) const;
758 // sets to the given year day (1..365 or 366)
771 // 1 of the year -4712, where the year is given in the Julian
781 // of days relative to a base date of December 31 of the year 0. Thus
782 // January 1 of the year 1 is Rata Die day 1.
804 // day/month/year/hour/min/sec values is interpreted as this moment in
855 // If you wish to get several time components (day, month and year),
867 // get the year (returns Inv_Year if date is invalid)
869 { return GetTm(tz).year; }
892 // get the day since the year start (1..366, 0 if date is invalid)
894 // get the week number since the year start (1..52 or 53, 0 if date is
1652 return Set(tm.mday, (Month)tm.mon, tm.year,
1666 int year,
1672 Set(day, month, year, hour, minute, second, millisec);
1699 int year)
1701 return SetToWeekDay(weekday, -1, month, year);
1724 int year) const
1728 return dt.SetToWeekDay(weekday, n, month, year) ? dt : wxInvalidDateTime;
1733 int year)
1737 return dt.SetToLastWeekDay(weekday, month, year) ? dt : wxInvalidDateTime;
1740 inline wxDateTime wxDateTime::GetLastMonthDay(Month month, int year) const
1742 MODIFY_AND_RETURN( SetToLastMonthDay(month, year) );
1794 return tm1.year == tm2.year &&