equal
deleted
inserted
replaced
622 // YYYY-MM-DDTHH:MM:SS.xxx+HH:MM |
622 // YYYY-MM-DDTHH:MM:SS.xxx+HH:MM |
623 // ----------------------------------------------------------------------------- |
623 // ----------------------------------------------------------------------------- |
624 // |
624 // |
625 TBool UpnpCdUtils::ValidateDateL( TPtrC8 aValue ) |
625 TBool UpnpCdUtils::ValidateDateL( TPtrC8 aValue ) |
626 { |
626 { |
627 TBool wrong = 0; |
627 /* TBool wrong = 0; |
628 |
628 |
629 TInt dateLength = aValue.Length(); |
629 TInt dateLength = aValue.Length(); |
630 |
630 |
631 if ((dateLength!=EDay)&&(dateLength!=ESecond)&& |
631 if ((dateLength!=EDay)&&(dateLength!=ESecond)&& |
632 (dateLength!=ETimeOffset1)&&(dateLength!=EMiliSecond)&& |
632 (dateLength!=ETimeOffset1)&&(dateLength!=EMiliSecond)&& |
822 |
822 |
823 if (wrong) |
823 if (wrong) |
824 { |
824 { |
825 return EFalse; |
825 return EFalse; |
826 } |
826 } |
827 |
827 */ |
828 return ETrue; |
828 return ETrue; |
829 } |
829 } |
830 |
830 |
831 // ----------------------------------------------------------------------------- |
831 // ----------------------------------------------------------------------------- |
832 // UpnpCdUtils::StringToUint |
832 // UpnpCdUtils::StringToUint |