server/src/app/Libraries/Utils.php
changeset 386 c731ab9b934d
parent 329 0a2c2ad49d75
child 496 a53762d61c06
equal deleted inserted replaced
385:f8200c5482ec 386:c731ab9b934d
     8 
     8 
     9 /**
     9 /**
    10  * Utilities functions
    10  * Utilities functions
    11  */
    11  */
    12 class Utils {
    12 class Utils {
       
    13 
    13 
    14 
    14     /**
    15     /**
    15      * convert DateIntervals to milliseconds
    16      * convert DateIntervals to milliseconds
    16      * Months and year calculated by approximation based on average number
    17      * Months and year calculated by approximation based on average number
    17      * of days over 4 years (365*4+1)
    18      * of days over 4 years (365*4+1)