DateTimeInterval
    
    
      
    
    
      
      Zadbaj o dobrą organizację dzięki kolekcji
    
    
      
      Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
    
    
    
      
      
        Reprezentuje przedział między dwoma punktami DateTime.
Pole timeZone zarówno w przypadku startTime, jak i endTime musi być takie samo.
      
      
        
          
            
              | Zapis JSON | 
          
          
            
              | {
  "startTime": {
    object (DateTime)
  },
  "endTime": {
    object (DateTime)
  }
} | 
          
        
      
      
        
          
            
            
          
          
            
              | Pola | 
          
          
            
              | startTime | object (DateTime)
 Początkowy punkt danych interwału (włącznie). Strefa czasowa punktu końcowego musi być zgodna ze strefą czasową punktu początkowego. | 
            
              | endTime | object (DateTime)
 Końcowy punkt danych przedziału (wyłącznie). Strefa czasowa punktu końcowego musi być zgodna ze strefą czasową punktu początkowego. | 
          
        
      
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
  Ostatnia aktualizacja: 2025-07-26 UTC.
  
  
  
    
      [null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[],["The core content describes a time interval defined by a start and end time.  Both `startTime` and `endTime` are DateTime objects. The JSON representation shows these as the key fields. The time zone of the `endTime` must correspond to the timezone of the `startTime`. The interval's `startTime` is inclusive, and the `endTime` is exclusive.\n"]]