• 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:wxTimeSpan

4 //              wxTimeSpan)
31 class WXDLLIMPEXP_FWD_BASE wxTimeSpan;
81 (wxTimeSpan)
90 wxDateTime + wxTimeSpan = wxDateTime
92 wxTimeSpan + wxTimeSpan = wxTimeSpan
97 wxDateTime - wxDateTime = wxTimeSpan
98 wxDateTime - wxTimeSpan = wxDateTime
100 wxTimeSpan - wxTimeSpan = wxTimeSpan
105 wxTimeSpan * number = wxTimeSpan
106 number * wxTimeSpan = wxTimeSpan
112 -wxTimeSpan = wxTimeSpan
950 inline bool IsEqualUpTo(const wxDateTime& dt, const wxTimeSpan& ts) const;
992 inline wxDateTime Add(const wxTimeSpan& diff) const;
994 inline wxDateTime& Add(const wxTimeSpan& diff);
996 inline wxDateTime& operator+=(const wxTimeSpan& diff);
997 inline wxDateTime operator+(const wxTimeSpan& ts) const
1005 inline wxDateTime Subtract(const wxTimeSpan& diff) const;
1007 inline wxDateTime& Subtract(const wxTimeSpan& diff);
1009 inline wxDateTime& operator-=(const wxTimeSpan& diff);
1010 inline wxDateTime operator-(const wxTimeSpan& ts) const
1044 inline wxTimeSpan Subtract(const wxDateTime& dt) const;
1045 inline wxTimeSpan operator-(const wxDateTime& dt2) const;
1137 class WXDLLIMPEXP_BASE wxTimeSpan
1144 static wxTimeSpan Milliseconds(wxLongLong ms) { return wxTimeSpan(0, 0, 0, ms); }
1145 static wxTimeSpan Millisecond() { return Milliseconds(1); }
1148 static wxTimeSpan Seconds(wxLongLong sec) { return wxTimeSpan(0, 0, sec); }
1149 static wxTimeSpan Second() { return Seconds(1); }
1152 static wxTimeSpan Minutes(long min) { return wxTimeSpan(0, min, 0 ); }
1153 static wxTimeSpan Minute() { return Minutes(1); }
1156 static wxTimeSpan Hours(long hours) { return wxTimeSpan(hours, 0, 0); }
1157 static wxTimeSpan Hour() { return Hours(1); }
1160 static wxTimeSpan Days(long days) { return Hours(24 * days); }
1161 static wxTimeSpan Day() { return Days(1); }
1164 static wxTimeSpan Weeks(long days) { return Days(7 * days); }
1165 static wxTimeSpan Week() { return Weeks(1); }
1168 wxTimeSpan() { }
1173 inline wxTimeSpan(long hours,
1186 inline wxTimeSpan Add(const wxTimeSpan& diff) const;
1188 inline wxTimeSpan& Add(const wxTimeSpan& diff);
1190 wxTimeSpan& operator+=(const wxTimeSpan& diff) { return Add(diff); }
1191 inline wxTimeSpan operator+(const wxTimeSpan& ts) const
1193 return wxTimeSpan(GetValue() + ts.GetValue());
1197 inline wxTimeSpan Subtract(const wxTimeSpan& diff) const;
1199 inline wxTimeSpan& Subtract(const wxTimeSpan& diff);
1201 wxTimeSpan& operator-=(const wxTimeSpan& diff) { return Subtract(diff); }
1202 inline wxTimeSpan operator-(const wxTimeSpan& ts)
1204 return wxTimeSpan(GetValue() - ts.GetValue());
1208 inline wxTimeSpan Multiply(int n) const;
1210 inline wxTimeSpan& Multiply(int n);
1212 wxTimeSpan& operator*=(int n) { return Multiply(n); }
1213 inline wxTimeSpan operator*(int n) const
1215 return wxTimeSpan(*this).Multiply(n);
1219 wxTimeSpan Negate() const { return wxTimeSpan(-GetValue()); }
1221 wxTimeSpan& Neg() { m_diff = -GetValue(); return *this; }
1223 wxTimeSpan& operator-() { return Neg(); }
1227 inline wxTimeSpan Abs() const;
1247 inline bool IsEqualTo(const wxTimeSpan& ts) const;
1251 inline bool IsLongerThan(const wxTimeSpan& ts) const;
1255 bool IsShorterThan(const wxTimeSpan& t) const { return !IsLongerThan(t); }
1257 inline bool operator<(const wxTimeSpan &ts) const
1262 inline bool operator<=(const wxTimeSpan &ts) const
1267 inline bool operator>(const wxTimeSpan &ts) const
1272 inline bool operator>=(const wxTimeSpan &ts) const
1277 inline bool operator==(const wxTimeSpan &ts) const
1282 inline bool operator!=(const wxTimeSpan &ts) const
1310 // specifiers valid for wxDateTime are valid for wxTimeSpan: hours,
1318 wxTimeSpan(const wxLongLong& diff) { m_diff = diff; }
1346 // with wxDateTime or wxTimeSpan, but the type of result is different for each
1359 // class: wxTimeSpan will do the job because there are no subtleties
1816 const wxTimeSpan& ts) const
1825 inline wxDateTime wxDateTime::Add(const wxTimeSpan& diff) const
1832 inline wxDateTime& wxDateTime::Add(const wxTimeSpan& diff)
1841 inline wxDateTime& wxDateTime::operator+=(const wxTimeSpan& diff)
1846 inline wxDateTime wxDateTime::Subtract(const wxTimeSpan& diff) const
1853 inline wxDateTime& wxDateTime::Subtract(const wxTimeSpan& diff)
1862 inline wxDateTime& wxDateTime::operator-=(const wxTimeSpan& diff)
1867 inline wxTimeSpan wxDateTime::Subtract(const wxDateTime& datetime) const
1871 return wxTimeSpan(GetValue() - datetime.GetValue());
1874 inline wxTimeSpan wxDateTime::operator-(const wxDateTime& dt2) const
1921 // wxTimeSpan construction
1924 inline wxTimeSpan::wxTimeSpan(long hours,
1940 // wxTimeSpan accessors
1943 inline wxLongLong wxTimeSpan::GetSeconds() const
1948 inline int wxTimeSpan::GetMinutes() const
1955 inline int wxTimeSpan::GetHours() const
1960 inline int wxTimeSpan::GetDays() const
1965 inline int wxTimeSpan::GetWeeks() const
1971 // wxTimeSpan arithmetics
1974 inline wxTimeSpan wxTimeSpan::Add(const wxTimeSpan& diff) const
1976 return wxTimeSpan(m_diff + diff.GetValue());
1979 inline wxTimeSpan& wxTimeSpan::Add(const wxTimeSpan& diff)
1986 inline wxTimeSpan wxTimeSpan::Subtract(const wxTimeSpan& diff) const
1988 return wxTimeSpan(m_diff - diff.GetValue());
1991 inline wxTimeSpan& wxTimeSpan::Subtract(const wxTimeSpan& diff)
1998 inline wxTimeSpan& wxTimeSpan::Multiply(int n)
2005 inline wxTimeSpan wxTimeSpan::Multiply(int n) const
2007 return wxTimeSpan(m_diff * (long)n);
2010 inline wxTimeSpan wxTimeSpan::Abs() const
2012 return wxTimeSpan(GetValue().Abs());
2015 inline bool wxTimeSpan::IsEqualTo(const wxTimeSpan& ts) const
2020 inline bool wxTimeSpan::IsLongerThan(const wxTimeSpan& ts) const
2109 // wxTimeSpan operators
2112 wxTimeSpan WXDLLIMPEXP_BASE operator*(int n, const wxTimeSpan& ts);