src/edu/kit/informatik/calendar_sample/DateTime.java
/**
     * Adds the specified count of seconds to this.
     * 
     * @param  seconds the count of seconds to add
     * @return the resulting date time
     */
Adds the specified count of seconds to this.

@param  seconds the count of seconds to add
@return the resulting date time
Adds the specified count of seconds to this . @param seconds the count of seconds to add @return the resulting date time
private DateTime add(
            final long seconds) {
        final long totalSeconds = time.inSeconds() + seconds;
        final Time time = Time.ofSeconds(totalSeconds);
        final int  days = (int) ((totalSeconds - time.inSeconds()) / Time.SECONDS_IN_DAY);
        return date.plusDays(days).atTime(time);
    }
private DateTime add ( final long seconds ) { final long totalSeconds = time . inSeconds ( ) + seconds ; final Time time = Time . ofSeconds ( totalSeconds ) ; final int days = ( int ) ( ( totalSeconds - time . inSeconds ( ) ) / Time . SECONDS_IN_DAY ) ; return date . plusDays ( days ) . atTime ( time ) ; }
Adds the specified count of seconds to this.
Adds the specified count of seconds to this .
////