Lines Matching refs:m_date
215 m_date = date.IsValid() ? date : wxDateTime::Today();
223 m_staticYear = new wxStaticText(GetParent(), wxID_ANY, m_date.Format(_T("%Y")),
228 m_staticMonth = new wxStaticText(GetParent(), wxID_ANY, m_date.Format(_T("%B")),
475 bool sameMonth = m_date.GetMonth() == date.GetMonth(),
476 sameYear = m_date.GetYear() == date.GetYear();
490 m_date = date;
495 m_comboMonth->SetSelection(m_date.GetMonth());
500 m_spinYear->SetValue(m_date.Format(_T("%Y")));
525 if ( m_date != date )
529 wxDateTime dateOld = m_date;
530 m_date = date;
535 if ( GetWeek(m_date) != GetWeek(dateOld) )
537 RefreshDate(m_date);
544 wxDateTime::Tm tm1 = m_date.GetTm(),
624 wxDateTime::Tm tm = m_date.GetTm();
648 return date.GetMonth() == m_date.GetMonth();
669 if ( target->GetYear() < m_date.GetYear() )
678 *target = m_date;
690 *target = m_date;
710 if ( target->GetMonth() < m_date.GetMonth() )
928 m_date.Format("%a %d-%m-%Y %H:%M:%S").c_str(),
929 GetWeek(m_date));
947 wxString headertext = m_date.Format(wxT("%B %Y"));
978 wxDateTime ldpm = wxDateTime(1,m_date.GetMonth(), m_date.GetYear()) - wxDateSpan::Day(); // last day prev month
980 if ( IsDateInRange(ldpm) && ( ( ldpm.GetYear() == m_date.GetYear() ) ? true : AllowYearChange() ) )
989 wxDateTime fdnm = wxDateTime(1,m_date.GetMonth(), m_date.GetYear()) + wxDateSpan::Month(); // first day next month
990 if ( IsDateInRange(fdnm) && ( ( fdnm.GetYear() == m_date.GetYear() ) ? true : AllowYearChange() ) )
1075 if ( date.GetMonth() != m_date.GetMonth() || !IsDateInRange(date) )
1084 isSel = date.IsSameDate(m_date);
1185 date = ( showSurrounding ) ? GetStartDate() : wxDateTime(1, m_date.GetMonth(), m_date.GetYear());
1196 date = ( showSurrounding ) ? GetStartDate() + wxDateSpan::Weeks(6) - wxDateSpan::Day() : wxDateTime().SetToLastMonthDay(m_date.GetMonth(), m_date.GetYear());
1362 int thismonth = m_date.GetMonth() + (12 * m_date.GetYear());
1385 GetDateCoord(ldcm.SetToLastMonthDay(m_date.GetMonth(), m_date.GetYear()), &lastday, &lastweek);
1505 if ( IsDateInRange(m_date - wxDateSpan::Month()) )
1507 *date = m_date - wxDateSpan::Month();
1522 if ( IsDateInRange(m_date + wxDateSpan::Month()) )
1524 *date = m_date + wxDateSpan::Month();
1574 if ( dt.GetMonth() == m_date.GetMonth() )
1596 wxDateTime::Tm tm = m_date.GetTm();
1619 wxDateTime::Tm tm = m_date.GetTm();
1671 target = m_date + wxDateSpan::Year();
1680 target = m_date - wxDateSpan::Year();
1688 target = m_date - wxDateSpan::Month();
1694 target = m_date + wxDateSpan::Month();
1702 target = wxDateTime(m_date).SetToNextWeekDay(
1712 SetDateAndNotify(m_date + wxDateSpan::Day());
1718 target = wxDateTime(m_date).SetToPrevWeekDay(
1728 SetDateAndNotify(m_date - wxDateSpan::Day());
1732 SetDateAndNotify(m_date - wxDateSpan::Week());
1736 SetDateAndNotify(m_date + wxDateSpan::Week());
1743 SetDateAndNotify(wxDateTime(1, m_date.GetMonth(), m_date.GetYear()));
1747 SetDateAndNotify(wxDateTime(m_date).SetToLastMonthDay());
1787 wxDateTime::Tm tm = m_date.GetTm();