@classmethod<EOL><INDENT>def CopyToDateTimeString(cls, time_elements_tuple, fraction_of_second):<DEDENT>
if fraction_of_second < <NUM_LIT:0.0> or fraction_of_second >= <NUM_LIT:1.0>:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(<EOL>fraction_of_second))<EOL><DEDENT>return '<STR_LIT>'.format(<EOL>time_elements_tuple[<NUM_LIT:0>], time_elements_tuple[<NUM_LIT:1>], time_elements_tuple[<NUM_LIT:2>],<EOL>time_elements_tuple[<NUM_LIT:3>], time_elements_tuple[<NUM_LIT:4>], time_elements_tuple[<NUM_LIT:5>])<EOL>
Copies the time elements and fraction of second to a string.

        Args:
          time_elements_tuple (tuple[int, int, int, int, int, int]):
              time elements, contains year, month, day of month, hours, minutes and
              seconds.
          fraction_of_second (decimal.Decimal): fraction of second, which must be a
              value between 0.0 and 1.0.

        Returns:
          str: date and time value formatted as:
              YYYY-MM-DD hh:mm:ss

        Raises:
          ValueError: if the fraction of second is out of bounds.