Tabnine Logo
TimeInstant.setIntervalType
Code IndexAdd Tabnine to your IDE (free)

How to use
setIntervalType
method
in
org.dashbuilder.dataset.date.TimeInstant

Best Java code snippets using org.dashbuilder.dataset.date.TimeInstant.setIntervalType (Showing top 4 results out of 315)

origin: kiegroup/appformer

  void changeIntervalType() {
    int selectedIdx = view.getSelectedIntervalTypeIndex();
    DateIntervalType intervalType = INTERVAL_TYPES.get(selectedIdx);
    timeInstant.setIntervalType(intervalType);

    onChangeCommand.execute();
    initIntervalTypeSelector();
  }
}
origin: org.dashbuilder/dashbuilder-displayer-client

  void changeIntervalType() {
    int selectedIdx = view.getSelectedIntervalTypeIndex();
    DateIntervalType intervalType = INTERVAL_TYPES.get(selectedIdx);
    timeInstant.setIntervalType(intervalType);

    onChangeCommand.execute();
    initIntervalTypeSelector();
  }
}
origin: org.dashbuilder/dashbuilder-dataset-api

  throw new IllegalArgumentException("Too many settings (ex '" + example + "'):  " + timeInstantExpr);
instant.setIntervalType(DateIntervalType.getByName(intervalTerms[0]));
if (instant.getIntervalType() == null) {
  throw new IllegalArgumentException("Invalid interval (ex '" + example + "'): " + timeInstantExpr);
origin: org.kie.soup/kie-soup-dataset-api

  throw new IllegalArgumentException("Too many settings (ex '" + example + "'):  " + timeInstantExpr);
instant.setIntervalType(DateIntervalType.getByName(intervalTerms[0]));
if (instant.getIntervalType() == null) {
  throw new IllegalArgumentException("Invalid interval (ex '" + example + "'): " + timeInstantExpr);
org.dashbuilder.dataset.dateTimeInstantsetIntervalType

Popular methods of TimeInstant

  • getTimeInstant
  • <init>
  • getIntervalType
  • getTimeMode
  • getFirstMonthOfYear
  • setFirstMonthOfYear
  • setTimeAmount
  • setTimeMode
  • calculateStartTime
  • getStartTime
  • getTimeAmount
  • now
    Return a time instant representing the current time.
  • getTimeAmount,
  • now,
  • parse,
  • setStartTime,
  • toString

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • JPanel (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best IntelliJ 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