 
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
       
      
    
      
     
      
    
       
      
    
      Get interval that is i-th index from start
 
      
    
      Create an interval based on this resolution around a specific date as anchor.
Create an interval based on this resolution around a specific date as anchor. For example, if resolution if 1 month, then any date within a month returns a [mo/01/yr, nextmo/01/yr] interval. Resolutions are semantic
 
      
    
      Compute the number of intervals that fit within this new resolution.
Compute the number of intervals that fit within this new resolution. I.e., if going from intervals in days to months, dates in april will return 30
 
      
    
      
     
      
    
       
      
    
      Test to see if it is valid to go from this resolution to a new target resolution
 
      
    
      
     
      
    
       
      
    
      
     
      
    
      Compute the start date of the interval that precedes the input date.
Compute the start date of the interval that precedes the input date. I.e., Interval(output, input) in this resolution
 
      
    
       
      
    
       
      
    
       
      
    
      Compute how many intervals fit between two dates with this resolution
 
      
    
      
     
      
    
       
      
    
       
      
    
      
     
      
    
       
      
    
       
      
    
      
Resolution of a time period, in semantic units, i.e. days, months, weeks, years