class_docstr: A file handler class for VIIRS compact format.
class_docstr_tok: ["A","file","handler","class","for","VIIRS","compact","format","."]
docstr: Get the end time.
docstr_tok: ["Get","the","end","time","."]
code: def end_time(self):
      """Get the end time."""
      end_time = datetime.combine(
          self.start_time.date(), self.finfo["end_time"].time()
      )
      if end_time < self.start_time:
          end_time += timedelta(days=1)
      return end_time
  
imports: import logging
  from contextlib import suppress
  from datetime import datetime, timedelta
  import dask.array
  import h5py
  import numpy
  import xarray
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.readers.utils import np2str
  from satpy.utils import angle2xyz, get_legacy_chunk_size, lonlat2xyz, xyz2angle, xyz2lonlat
label_desc: Use image node_id 6 for calling the VIIRSCompactFileHandler obj's underlying member method code with example usage: obj.end_time() and returns: end_time