Codota Logo
CalendarDateRange.intersect
Code IndexAdd Codota 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)

  • Common ways to obtain CalendarDateRange
private void myMethod () {
CalendarDateRange c =
  • Codota IconCalendarDate start;CalendarDateRange.of(start, start)
  • Codota IconCoordinateAxis1DTime coordinateAxis1DTime;coordinateAxis1DTime.getCalendarDateRange()
  • Codota IconFeatureDatasetPoint featureDatasetPoint;featureDatasetPoint.getCalendarDateRange()
  • Smart code suggestions by Codota
}
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

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now