def __splitTime(sec):
    """Takes an amount of seconds and returns a tuple for hours, minutes and seconds.
    @rtype:  tuple(int, int, int)
    @return: A tuple that contains hours, minutes and seconds"""
    minutes, sec = divmod(sec, 60)
    hour, minutes = divmod(minutes, 60)
    return (hour, minutes, sec)