Lines Matching defs:IsValid
40 but be aware IsValid() will return false.
64 specified time is invalid, the time is not set and IsValid() returns false.
116 BTime::IsValid() const
126 BTime::IsValid(const BTime& time)
128 return time.IsValid();
136 BTime::IsValid(int32 hour, int32 minute, int32 second, int32 microsecond)
138 return BTime(hour, minute, second, microsecond).IsValid();
189 return IsValid();
442 bool isValid = IsValid();
454 Constructs a new BDate object. IsValid() will return false.
482 date is invalid, the date is not set and IsValid() returns false. Also note
562 BDate::IsValid() const
564 return IsValid(fYear, fMonth, fDay);
572 BDate::IsValid(const BDate& date)
574 return IsValid(date.fYear, date.fMonth, date.fDay);
582 BDate::IsValid(int32 year, int32 month, int32 day)
673 if (IsValid())
687 if (IsValid()) {
708 if (IsValid()) {
815 if (!IsValid() || fYear < 1582
867 return IsValid() ? (DateToJulianDay() % 7) + 1 : int32(B_ERROR);
878 if (!IsValid())
919 if (!IsValid())
933 if (!IsValid())
1185 bool valid = IsValid(year, month, day);
1212 if (IsValid(_year, month, day)) {
1245 Constructs a new BDateTime object. IsValid() will return false.
1256 of IsValid() depends on the validity of the passed objects.
1266 Constructs a new BDateTime object. IsValid() will return false.
1304 BDateTime::IsValid() const
1306 return fDate.IsValid() && fTime.IsValid();