/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }
/** * Returns a new instance with the specified number of seconds taken away. * <p> * This instance is immutable and unaffected by this method call. * * @param seconds the amount of seconds to take away, may be negative, null means zero * @return the new period minus the specified number of seconds * @throws ArithmeticException if the result overflows an int */ public Seconds minus(Seconds seconds) { if (seconds == null) { return this; } return minus(seconds.getValue()); }