DateTimeInterval.fromDateDifference Method
        
 Returns intervals of the largest types possible with a positive, integer size
 based on the difference between date1 and date2.
 
         
         
        
            
 This method is static. 
        Parameters
        
            - date1
            
 
            - 
                
Type: Date
The first date. 
            - date2
            
 
            - 
                
Type: Date
The second date. 
        
        Return Value
        
Type: Array
        
ElementType: DateTimeInterval
        
One or two intervals describing the positive whole distance between the two dates; 
 two if one does not divide into the other, in descending order of size.