@classmethod<EOL><INDENT>def CopyMicrosecondsToFractionOfSecond(cls, microseconds):<DEDENT>
if microseconds < <NUM_LIT:0> or microseconds >= definitions.MICROSECONDS_PER_SECOND:<EOL><INDENT>raise ValueError(<EOL>'<STR_LIT>'.format(<EOL>microseconds))<EOL><DEDENT>milliseconds, _ = divmod(<EOL>microseconds, definitions.MICROSECONDS_PER_MILLISECOND)<EOL>return decimal.Decimal(milliseconds) / definitions.MILLISECONDS_PER_SECOND<EOL>
Copies the number of microseconds to a fraction of second value.

        Args:
          microseconds (int): number of microseconds.

        Returns:
          decimal.Decimal: fraction of second, which must be a value between 0.0 and
              1.0.

        Raises:
          ValueError: if the number of microseconds is out of bounds.