@staticmethod
def seconds_toperiods(total_seconds):
    """
        Ontleedt een getal in seconden naar lijst met vaste periodes: days, hours, minutes, seconds
        waarbij day    =          24 * 60 * 60 =     86,400 seconden 
                hour   =               60 * 60 =      3,600 seconden 
                minute =                    60 =         60 seconden
        
        Parameters
        --------------
        total_seconds : float or int 
            bijvoorbeeld Timedelta.total_seconds() van Pandas dataframe bv index[1]-index[0]
        
        Returns
        -------------
        list : list of integer values [days, hours, minutes, seconds]
        """
    days, remainder = divmod(total_seconds, 24 * 3600)
    hours, remainder = divmod(remainder, 3600)
    minutes, seconds = divmod(remainder, 60)
    return [int(days), int(hours), int(minutes), int(seconds)]
