def CopyFromStringTuple(self, time_elements_tuple):
if len(time_elements_tuple) < <NUM_LIT:6>:<EOL><INDENT>raise ValueError((<EOL>'<STR_LIT>'<EOL>'<STR_LIT>').format(len(time_elements_tuple)))<EOL><DEDENT>try:<EOL><INDENT>year = int(time_elements_tuple[<NUM_LIT:0>], <NUM_LIT:10>)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError('<STR_LIT>'.format(<EOL>time_elements_tuple[<NUM_LIT:0>]))<EOL><DEDENT>try:<EOL><INDENT>month = int(time_elements_tuple[<NUM_LIT:1>], <NUM_LIT:10>)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError('<STR_LIT>'.format(<EOL>time_elements_tuple[<NUM_LIT:1>]))<EOL><DEDENT>try:<EOL><INDENT>day_of_month = int(time_elements_tuple[<NUM_LIT:2>], <NUM_LIT:10>)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError('<STR_LIT>'.format(<EOL>time_elements_tuple[<NUM_LIT:2>]))<EOL><DEDENT>try:<EOL><INDENT>hours = int(time_elements_tuple[<NUM_LIT:3>], <NUM_LIT:10>)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError('<STR_LIT>'.format(<EOL>time_elements_tuple[<NUM_LIT:3>]))<EOL><DEDENT>try:<EOL><INDENT>minutes = int(time_elements_tuple[<NUM_LIT:4>], <NUM_LIT:10>)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError('<STR_LIT>'.format(<EOL>time_elements_tuple[<NUM_LIT:4>]))<EOL><DEDENT>try:<EOL><INDENT>seconds = int(time_elements_tuple[<NUM_LIT:5>], <NUM_LIT:10>)<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>raise ValueError('<STR_LIT>'.format(<EOL>time_elements_tuple[<NUM_LIT:5>]))<EOL><DEDENT>self._normalized_timestamp = None<EOL>self._number_of_seconds = self._GetNumberOfSecondsFromElements(<EOL>year, month, day_of_month, hours, minutes, seconds)<EOL>self._time_elements_tuple = (<EOL>year, month, day_of_month, hours, minutes, seconds)<EOL>
Copies time elements from string-based time elements tuple.

        Args:
          time_elements_tuple (Optional[tuple[str, str, str, str, str, str]]):
              time elements, contains year, month, day of month, hours, minutes and
              seconds.

        Raises:
          ValueError: if the time elements tuple is invalid.