Lines Matching defs:month
516 // return the current month
529 // get the number of the days in the given month (default value for
531 static wxDateTime_t GetNumberOfDays(Month month,
535 // get the full (default) or abbreviated month name in the current
537 static wxString GetMonthName(Month month,
576 // parameters mean take current month and/or year values.
601 inline wxDateTime(wxDateTime_t day, // day of the month
602 Month month,
643 // (defaults for month and year are the current values)
645 Month month,
666 // set the month
667 wxDateTime& SetMonth(Month month);
668 // set the day of the month
709 // set to Nth occurence of given weekday in the given month of the
712 // of the month (see helper function SetToLastWeekDay())
715 Month month = Inv_Month,
719 Month month = Inv_Month,
722 // sets to the last weekday in the given month, year
724 Month month = Inv_Month,
727 Month month = Inv_Month,
751 // sets the date to the last day of the given (or current) month or the
753 wxDateTime& SetToLastMonthDay(Month month = Inv_Month,
755 inline wxDateTime GetLastMonthDay(Month month = Inv_Month,
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),
870 // get the month (Inv_Month if date is invalid)
873 // get the month day (in 1..31 range, 0 if date is invalid)
898 // get the week number since the month start (1..5, 0 if date is
1330 // logic for such things as "add one month to the date" which, in general,
1332 // the next month (to understand that this is indeed different consider adding
1333 // one month to Feb, 15 - we want to get Mar, 15, of course).
1335 // When adding a month to the date, all lesser components (days, hours, ...)
1337 // Jan 31 + 1 month will be Feb 28, not (non existing) Feb 31.
1341 // month will be Jan 28, not Jan 31!
1345 // month and 1 day) is 2 months and 2 days. They can be added together and
1665 Month month,
1672 Set(day, month, year, hour, minute, second, millisec);
1698 Month month,
1701 return SetToWeekDay(weekday, -1, month, year);
1723 Month month,
1728 return dt.SetToWeekDay(weekday, n, month, year) ? dt : wxInvalidDateTime;
1732 Month month,
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) );