Lines Matching refs:rDateField

367     ByteString rDateField;  in GenerateDateField()  local
370 rDateField += wkdays[(sal_uInt16)(rDateTime.GetDayOfWeek())]; in GenerateDateField()
371 rDateField += ", "; in GenerateDateField()
374 if (nNum < 10) rDateField += '0'; in GenerateDateField()
375 rDateField += ByteString::CreateFromInt32(nNum); in GenerateDateField()
376 rDateField += ' '; in GenerateDateField()
378 rDateField += months[(sal_uInt16)(rDateTime.GetMonth() - 1)]; in GenerateDateField()
379 rDateField += ' '; in GenerateDateField()
381 rDateField += ByteString::CreateFromInt32(rDateTime.GetYear()); in GenerateDateField()
382 rDateField += ' '; in GenerateDateField()
386 if (nNum < 10) rDateField += '0'; in GenerateDateField()
387 rDateField += ByteString::CreateFromInt32(nNum); in GenerateDateField()
388 rDateField += ':'; in GenerateDateField()
391 if (nNum < 10) rDateField += '0'; in GenerateDateField()
392 rDateField += ByteString::CreateFromInt32(nNum); in GenerateDateField()
393 rDateField += ':'; in GenerateDateField()
396 if (nNum < 10) rDateField += '0'; in GenerateDateField()
397 rDateField += ByteString::CreateFromInt32(nNum); in GenerateDateField()
398 rDateField += " GMT"; in GenerateDateField()
401 rDateFieldW = UniString (rDateField, RTL_TEXTENCODING_ASCII_US); in GenerateDateField()
436 ByteString rDateField (rDateFieldW, RTL_TEXTENCODING_ASCII_US); in ParseDateField() local
437 if (rDateField.Len() == 0) return sal_False; in ParseDateField()
439 if (rDateField.Search (':') != STRING_NOTFOUND) in ParseDateField()
445 while ((nIndex < rDateField.Len()) && in ParseDateField()
446 (rDateField.GetChar(nIndex) == ' ')) in ParseDateField()
450 (nIndex < rDateField.Len()) && in ParseDateField()
451 (ascii_isLetter (rDateField.GetChar(nIndex)) || in ParseDateField()
452 (rDateField.GetChar(nIndex) == ',') )) in ParseDateField()
455 while ((nIndex < rDateField.Len()) && in ParseDateField()
456 (rDateField.GetChar(nIndex) == ' ')) in ParseDateField()
459 if (ascii_isLetter (rDateField.GetChar(nIndex))) in ParseDateField()
462 if ((rDateField.Len() - nIndex) < 20) return sal_False; in ParseDateField()
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()
472 sal_uInt16 nYear = ParseNumber (rDateField, nIndex); in ParseDateField()
479 if ((rDateField.Len() - nIndex) < 17) return sal_False; in ParseDateField()
481 rDateTime.SetDay (ParseNumber (rDateField, nIndex)); nIndex++; in ParseDateField()
482 rDateTime.SetMonth (ParseMonth (rDateField, nIndex)); nIndex++; in ParseDateField()
484 sal_uInt16 nYear = ParseNumber (rDateField, nIndex); nIndex++; 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()
493 if ((rDateField.GetChar(nIndex) == '+') || in ParseDateField()
494 (rDateField.GetChar(nIndex) == '-') ) in ParseDateField()
497 sal_Bool bEast = (rDateField.GetChar(nIndex++) == '+'); in ParseDateField()
498 sal_uInt16 nOffset = ParseNumber (rDateField, nIndex); in ParseDateField()
515 else if (rDateField.IsNumericAscii()) in ParseDateField()
519 aDelta.SetTime (rDateField.ToInt32() * 100); in ParseDateField()