Skip to content

Commit 74d31da

Browse files
committed
Checkstyle
1 parent 5c25ce3 commit 74d31da

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

server/src/main/java/org/elasticsearch/common/time/DateUtils.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,9 @@ public static long roundMonthOfYear(final long utcMillis) {
370370
* Round down to the beginning of the nearest multiple of the specified month interval based on the year
371371
* @param utcMillis the milliseconds since the epoch
372372
* @param monthInterval the interval in months to round down to
373-
* @return The milliseconds since the epoch rounded down to the beginning of the nearest multiple of the specified month interval based on the year
373+
*
374+
* @return The milliseconds since the epoch rounded down to the beginning of the nearest multiple of the
375+
* specified month interval based on the year
374376
*/
375377
public static long roundIntervalMonthOfYear(final long utcMillis, final int monthInterval) {
376378
if (monthInterval <= 0) {
@@ -396,6 +398,7 @@ public static long roundYear(final long utcMillis) {
396398
* Round down to the beginning of the nearest multiple of the specified year interval
397399
* @param utcMillis the milliseconds since the epoch
398400
* @param yearInterval the interval in years to round down to
401+
*
399402
* @return The milliseconds since the epoch rounded down to the beginning of the nearest multiple of the specified year interval
400403
*/
401404
public static long roundYearInterval(final long utcMillis, final int yearInterval) {
@@ -421,7 +424,9 @@ public static long roundWeekOfWeekYear(final long utcMillis) {
421424
* Consider Sun Dec 29 1969 00:00:00.000 as the start of the first week.
422425
* @param utcMillis the milliseconds since the epoch
423426
* @param weekInterval the interval in weeks to round down to
424-
* @return The milliseconds since the epoch rounded down to the beginning of the nearest multiple of the specified week interval based on week year
427+
*
428+
* @return The milliseconds since the epoch rounded down to the beginning of the nearest multiple of the
429+
* specified week interval based on week year
425430
*/
426431
public static long roundWeekIntervalOfWeekYear(final long utcMillis, final int weekInterval) {
427432
if (weekInterval <= 0) {

0 commit comments

Comments
 (0)