Tabnine Logo
RemainderDateTimeField.getDivided
Code IndexAdd Tabnine to your IDE (free)

How to use
getDivided
method
in
org.joda.time.field.RemainderDateTimeField

Best Java code snippets using org.joda.time.field.RemainderDateTimeField.getDivided (Showing top 11 results out of 315)

origin: joda-time/joda-time

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: JodaOrg/joda-time

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: camunda/camunda-bpm-platform

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: Nextdoor/bender

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: com.ning.billing/killbill-osgi-bundles-analytics

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: org.kill-bill.billing/killbill-osgi-bundles-jruby

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.joda-time

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: org.joda/com.springsource.org.joda.time

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: io.virtdata/virtdata-lib-realer

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
origin: redfish64/TinyTravelTracker

/**
 * Set the specified amount of remainder units to the specified time instant.
 * 
 * @param instant  the time instant in millis to update.
 * @param value  value of remainder units to set.
 * @return the updated time instant.
 * @throws IllegalArgumentException if value is too large or too small.
 */
public long set(long instant, int value) {
  FieldUtils.verifyValueBounds(this, value, 0, iDivisor - 1);
  int divided = getDivided(getWrappedField().get(instant));
  return getWrappedField().set(instant, divided * iDivisor + value);
}
org.joda.time.fieldRemainderDateTimeFieldgetDivided

Popular methods of RemainderDateTimeField

  • <init>
    Construct a RemainderDateTimeField that compliments the given DividedDateTimeField. This constructor
  • get
    Get the remainder from the specified time instant.
  • getWrappedField
  • set
    Set the specified amount of remainder units to the specified time instant.

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • putExtra (Intent)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • 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
  • Best plugins for Eclipse
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