@classmethod
def from_sec(cls, float_secs):
    """
        Create new TVal instance using time.time() value (float
        seconds)

        :param float_secs: time value in time.time() format, ``float``
        :returns: :class:`TVal` instance for specified time
        """
    secs = int(float_secs)
    nsecs = int((float_secs - secs) * 1000000000)
    return cls(secs, nsecs)
