Tabnine Logo
CalendarDateRange.intersect
Code IndexAdd Tabnine to your IDE (free)

How to use
intersect
method
in
ucar.nc2.time.CalendarDateRange

Best Java code snippets using ucar.nc2.time.CalendarDateRange.intersect (Showing top 12 results out of 315)

origin: edu.ucar/netcdf

StationFeatureSubset(StationFeatureImpl from, CalendarDateRange filter_date) {
 super(from.s, from.timeUnit, -1);
 this.from = from;
 if (filter_date == null) {
  this.dateRange = from.dateRange;
 } else {
  this.dateRange = (from.dateRange == null) ? filter_date : from.dateRange.intersect(filter_date);
 }
}
origin: edu.ucar/netcdf

public PointCollectionSubset(PointCollectionImpl from, LatLonRect filter_bb, CalendarDateRange filter_date) {
 super(from.name);
 this.from = from;
 if (filter_bb == null)
  this.boundingBox = from.boundingBox;
 else
  this.boundingBox = (from.boundingBox == null) ? filter_bb : from.boundingBox.intersect(filter_bb);
 if (filter_date == null) {
  this.dateRange = from.dateRange;
 } else {
  this.dateRange = (from.dateRange == null) ? filter_date : from.dateRange.intersect(filter_date);
 }
}
origin: edu.ucar/netcdf

protected PointDatasetImpl(PointDatasetImpl from, LatLonRect filter_bb, CalendarDateRange filter_date) {
 super(from);
 this.collectionList = from.collectionList;
 this.featureType = from.featureType;
 if (filter_bb == null)
  this.boundingBox = from.boundingBox;
 else
  this.boundingBox = (from.boundingBox == null) ? filter_bb : from.boundingBox.intersect(filter_bb);
 if (filter_date == null) {
  this.dateRange = from.dateRange;
 } else {
  this.dateRange = (from.dateRange == null) ? filter_date : from.dateRange.intersect(filter_date);
 }
}
origin: Unidata/thredds

protected PointDatasetImpl(PointDatasetImpl from, LatLonRect filter_bb, CalendarDateRange filter_date) {
 super(from);
 this.collectionList = from.collectionList;
 this.featureType = from.featureType;
 if (filter_bb == null)
  this.boundingBox = from.boundingBox;
 else
  this.boundingBox = (from.boundingBox == null) ? filter_bb : from.boundingBox.intersect(filter_bb);
 if (filter_date == null) {
  this.dateRange = from.dateRange;
 } else {
  this.dateRange = (from.dateRange == null) ? filter_date : from.dateRange.intersect(filter_date);
 }
}
origin: edu.ucar/cdm

protected PointDatasetImpl(PointDatasetImpl from, LatLonRect filter_bb, CalendarDateRange filter_date) {
 super(from);
 this.collectionList = from.collectionList;
 this.featureType = from.featureType;
 if (filter_bb == null)
  this.boundingBox = from.boundingBox;
 else
  this.boundingBox = (from.boundingBox == null) ? filter_bb : from.boundingBox.intersect(filter_bb);
 if (filter_date == null) {
  this.dateRange = from.dateRange;
 } else {
  this.dateRange = (from.dateRange == null) ? filter_date : from.dateRange.intersect(filter_date);
 }
}
origin: edu.ucar/cdm

public StationFeatureSubset(StationTimeSeriesFeatureImpl from, CalendarDateRange filter_date) {
 super(from.s, from.getTimeUnit(), from.getAltUnits(), -1);
 this.from = from;
 if (filter_date == null) {
  this.dateRange = from.dateRange;
 } else {
  this.dateRange = (from.dateRange == null) ? filter_date : from.dateRange.intersect(filter_date);
 }
}
origin: edu.ucar/cdm

public PointCollectionSubset(PointCollectionImpl from, LatLonRect filter_bb, CalendarDateRange filter_date) {
 super(from.name, from.getTimeUnit(), from.getAltUnits());
 this.from = from;
 if (filter_bb == null)
  this.boundingBox = from.boundingBox;
 else
  this.boundingBox = (from.boundingBox == null) ? filter_bb : from.boundingBox.intersect(filter_bb);
 if (filter_date == null) {
  this.dateRange = from.dateRange;
 } else {
  this.dateRange = (from.dateRange == null) ? filter_date : from.dateRange.intersect(filter_date);
 }
}
origin: edu.ucar/netcdf

RemoteStationCollectionSubset(RemoteStationCollection from, StationHelper sh, LatLonRect filter_bb, CalendarDateRange filter_date) throws IOException {
 super(from.uri, sh);
 this.from = from;
 if (filter_bb == null)
  this.boundingBoxSubset = from.getBoundingBox();
 else
  this.boundingBoxSubset = (from.getBoundingBox() == null) ? filter_bb : from.getBoundingBox().intersect(filter_bb);
 if (filter_date == null) {
  this.dateRangeSubset = from.dateRangeSubset;
 } else {
  this.dateRangeSubset = (from.dateRangeSubset == null) ? filter_date : from.dateRangeSubset.intersect(filter_date);
 }
}
origin: Unidata/thredds

Subset(StationCollectionStream from, LatLonRect filter_bb, CalendarDateRange filter_date) throws IOException {
 super(from.uri, from.getTimeUnit(), from.getAltUnits());
 this.from = from;
 if (filter_bb == null)
  this.boundingBoxSubset = from.getBoundingBox();
 else
  this.boundingBoxSubset = (from.getBoundingBox() == null) ? filter_bb : from.getBoundingBox().intersect(filter_bb);
 if (filter_date == null) {
  this.dateRangeSubset = from.dateRangeSubset;
 } else {
  this.dateRangeSubset = (from.dateRangeSubset == null) ? filter_date : from.dateRangeSubset.intersect(filter_date);
 }
}
origin: edu.ucar/cdm

RemoteStationCollectionSubset(RemoteStationCollection from, LatLonRect filter_bb,
    CalendarDateRange filter_date) throws IOException {
 super(from.uri, from.getTimeUnit(), from.getAltUnits());
 this.from = from;
 if (filter_bb == null)
  this.boundingBoxSubset = from.getBoundingBox();
 else
  this.boundingBoxSubset = (from.getBoundingBox() == null) ? filter_bb : from.getBoundingBox().intersect(filter_bb);
 if (filter_date == null) {
  this.dateRangeSubset = from.dateRangeSubset;
 } else {
  this.dateRangeSubset = (from.dateRangeSubset == null) ? filter_date : from.dateRangeSubset.intersect(filter_date);
 }
}
origin: edu.ucar/netcdf

 PointFeatureCollectionSubset(RemotePointCollection from, LatLonRect filter_bb, CalendarDateRange filter_date) throws IOException {
  super(from.uri, null);
  this.from = from;
  if (filter_bb == null)
   this.boundingBox = from.getBoundingBox();
  else
   this.boundingBox = (from.getBoundingBox() == null) ? filter_bb : from.getBoundingBox().intersect(filter_bb);
  if (filter_date == null) {
   this.dateRange = from.getCalendarDateRange();
  } else {
   this.dateRange = (from.getDateRange() == null) ? filter_date : from.getCalendarDateRange().intersect(filter_date);
  }
 }
}
origin: edu.ucar/cdm

 PointFeatureCollectionSubset(RemotePointCollection from, LatLonRect filter_bb, CalendarDateRange filter_date) throws IOException {
  super(from.uri, RemotePointCollection.this.getTimeUnit(), RemotePointCollection.this.getAltUnits(), null);
  if (filter_bb == null)
   this.boundingBox = from.getBoundingBox();
  else
   this.boundingBox = (from.getBoundingBox() == null) ? filter_bb : from.getBoundingBox().intersect(filter_bb);
  if (filter_date == null) {
   this.dateRange = from.getCalendarDateRange();
  } else {
   this.dateRange = (from.getDateRange() == null) ? filter_date : from.getCalendarDateRange().intersect(filter_date);
  }
 }
}
ucar.nc2.timeCalendarDateRangeintersect

Popular methods of CalendarDateRange

  • of
    Does not handle non-standard calendars
  • extend
  • getEnd
  • getStart
  • getDurationInSecs
  • getResolution
  • includes
  • intersects
  • toDateRange
    Does not handle non-standard calendars
  • <init>
  • getDuration
  • equals
  • getDuration,
  • equals,
  • hashCode,
  • isPoint

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JComboBox (javax.swing)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now