From 64f7972a3d0c82ad7047f73f0b57c3d88f62935f Mon Sep 17 00:00:00 2001 From: Naoto Sato Date: Wed, 21 Feb 2024 16:53:57 +0000 Subject: [PATCH] 8326158: Javadoc for java.time.DayOfWeek#minus(long) Reviewed-by: iris, lancea --- src/java.base/share/classes/java/time/DayOfWeek.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java.base/share/classes/java/time/DayOfWeek.java b/src/java.base/share/classes/java/time/DayOfWeek.java index 43dc3aa9c1b..ba3107ef7de 100644 --- a/src/java.base/share/classes/java/time/DayOfWeek.java +++ b/src/java.base/share/classes/java/time/DayOfWeek.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -370,7 +370,7 @@ public enum DayOfWeek implements TemporalAccessor, TemporalAdjuster { /** * Returns the day-of-week that is the specified number of days before this one. *

- * The calculation rolls around the start of the year from Monday to Sunday. + * The calculation rolls around the start of the week from Monday to Sunday. * The specified period may be negative. *

* This instance is immutable and unaffected by this method call.