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

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

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

origin: Unidata/thredds

 @Override
 public boolean filter(PointFeatureCollection pointFeatureCollection) {
  ProfileFeature profileFeature = (ProfileFeature) pointFeatureCollection;
  return dateRange.includes(profileFeature.getTime());
 }
}
origin: Unidata/thredds

@Override
public List<CalendarDate> getTimes() throws IOException {
 List<CalendarDate> result = new ArrayList<>();
 for (ProfileFeature pf : this) {
  if (dateRange.includes(pf.getTime()))
   result.add(pf.getTime());
 }
 return result;
}
origin: edu.ucar/cdm

private boolean filter(PointFeature pdata) {
 if ((filter_date != null) && !filter_date.includes(pdata.getObservationTimeAsCalendarDate()))
  return false;
 if ((filter_bb != null) && !filter_bb.contains(pdata.getLocation().getLatitude(), pdata.getLocation().getLongitude()))
  return false;
 return true;
}
origin: edu.ucar/netcdf

public boolean filter(PointFeature pdata) {
 if ((filter_date != null) && !filter_date.includes(pdata.getObservationTimeAsCalendarDate()))
  return false;
 if ((filter_bb != null) && !filter_bb.contains(pdata.getLocation().getLatitude(), pdata.getLocation().getLongitude()))
  return false;
 return true;
}
origin: edu.ucar/cdm

public boolean filter(PointFeature pdata) {
 if ((filter_date != null) && !filter_date.includes(pdata.getObservationTimeAsCalendarDate()))
  return false;
 if ((filter_bb != null) && !filter_bb.contains(pdata.getLocation().getLatitude(), pdata.getLocation().getLongitude()))
  return false;
 return true;
}
origin: edu.ucar/netcdf

private boolean filter(PointFeature pdata) {
 if ((filter_date != null) && !filter_date.includes(pdata.getObservationTimeAsCalendarDate()))
  return false;
 if ((filter_bb != null) && !filter_bb.contains(pdata.getLocation().getLatitude(), pdata.getLocation().getLongitude()))
  return false;
 return true;
}
origin: Unidata/thredds

  @Override
  public boolean filter(PointFeature pointFeat) {
   if ((filter_date != null) && !filter_date.includes(pointFeat.getObservationTimeAsCalendarDate()))
    return false;
   if ((filter_bb != null) && !filter_bb.contains(pointFeat.getLocation().getLatitude(), pointFeat.getLocation().getLongitude()))
    return false;
   return true;
  }
}
origin: Unidata/thredds

 System.out.printf("  point not in BB = %s on %s %n", pf.getLocation().getLatLon(), pfc.getName());
if (!dr.includes(pf.getObservationTimeAsCalendarDate()))
 System.out.printf("  date out of Range= %s on %s %n", pf.getObservationTimeAsCalendarDate(), pfc.getName());
count++;
ucar.nc2.timeCalendarDateRangeincludes

Popular methods of CalendarDateRange

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

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • startActivity (Activity)
  • requestLocationUpdates (LocationManager)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Join (org.hibernate.mapping)
  • Top Sublime Text plugins
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