equal
deleted
inserted
replaced
804 // Setting the attributes to null again as we dont trust on |
804 // Setting the attributes to null again as we dont trust on |
805 // previous NITZ data recevied by device.If device receive |
805 // previous NITZ data recevied by device.If device receive |
806 // NITZ data again attributes would get filled with actual value. |
806 // NITZ data again attributes would get filled with actual value. |
807 // Has been kept outside because this statement is valid for |
807 // Has been kept outside because this statement is valid for |
808 // first boot also. |
808 // first boot also. |
809 if( iTimeAttributes ) |
809 if( iTimeAttributes && staleBoot ) |
810 { |
810 { |
811 iTimeAttributes->iDstOffset = TTimeIntervalMinutes( 0 ); |
811 iTimeAttributes->iDstOffset = TTimeIntervalMinutes( 0 ); |
812 iTimeAttributes->iTimeZoneOffset = TTimeIntervalMinutes( 0 ); |
812 iTimeAttributes->iTimeZoneOffset = TTimeIntervalMinutes( 0 ); |
813 TTime invalidTime( 0 ); |
813 TTime invalidTime( 0 ); |
814 iTimeAttributes->iUtcDateTime = invalidTime.DateTime(); |
814 iTimeAttributes->iUtcDateTime = invalidTime.DateTime(); |