Lines Matching refs:rDateTime

358     const DateTime& rDateTime, UniString& rDateFieldW)  in GenerateDateField()  argument
361 if (!rDateTime.IsValid() || in GenerateDateField()
362 (rDateTime.GetSec() > 59) || in GenerateDateField()
363 (rDateTime.GetMin() > 59) || in GenerateDateField()
364 (rDateTime.GetHour() > 23) ) return sal_False; in GenerateDateField()
370 rDateField += wkdays[(sal_uInt16)(rDateTime.GetDayOfWeek())]; in GenerateDateField()
373 sal_uInt16 nNum = rDateTime.GetDay(); in GenerateDateField()
378 rDateField += months[(sal_uInt16)(rDateTime.GetMonth() - 1)]; in GenerateDateField()
381 rDateField += ByteString::CreateFromInt32(rDateTime.GetYear()); in GenerateDateField()
385 nNum = rDateTime.GetHour(); in GenerateDateField()
390 nNum = rDateTime.GetMin(); in GenerateDateField()
395 nNum = rDateTime.GetSec(); in GenerateDateField()
434 const UniString& rDateFieldW, DateTime& rDateTime) in ParseDateField() argument
464 rDateTime.SetMonth (ParseMonth (rDateField, nIndex)); nIndex++; in ParseDateField()
465 rDateTime.SetDay (ParseNumber (rDateField, nIndex)); nIndex++; in ParseDateField()
467 rDateTime.SetHour (ParseNumber (rDateField, nIndex)); nIndex++; in ParseDateField()
468 rDateTime.SetMin (ParseNumber (rDateField, nIndex)); nIndex++; in ParseDateField()
469 rDateTime.SetSec (ParseNumber (rDateField, nIndex)); nIndex++; in ParseDateField()
470 rDateTime.Set100Sec (0); in ParseDateField()
474 rDateTime.SetYear (nYear); in ParseDateField()
481 rDateTime.SetDay (ParseNumber (rDateField, nIndex)); nIndex++; in ParseDateField()
482 rDateTime.SetMonth (ParseMonth (rDateField, nIndex)); nIndex++; in ParseDateField()
486 rDateTime.SetYear (nYear); in ParseDateField()
488 rDateTime.SetHour (ParseNumber (rDateField, nIndex)); nIndex++; in ParseDateField()
489 rDateTime.SetMin (ParseNumber (rDateField, nIndex)); nIndex++; in ParseDateField()
490 rDateTime.SetSec (ParseNumber (rDateField, nIndex)); nIndex++; in ParseDateField()
491 rDateTime.Set100Sec (0); in ParseDateField()
508 rDateTime -= aDiff; in ParseDateField()
510 rDateTime += aDiff; in ParseDateField()
525 rDateTime.SetDate (aNow.GetDate()); in ParseDateField()
526 rDateTime.SetTime (aNow.GetTime()); in ParseDateField()
534 return (rDateTime.IsValid() && in ParseDateField()
535 !((rDateTime.GetSec() > 59) || in ParseDateField()
536 (rDateTime.GetMin() > 59) || in ParseDateField()
537 (rDateTime.GetHour() > 23) )); in ParseDateField()