Skip to content

Commit 1f84806

Browse files
committed
Export o.a.l.l.c.util.internal.instant package
1 parent 4d3b5db commit 1f84806

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/instant/InstantNumberFormatter.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727
* <p>
2828
* <sup>1</sup> Epoch is a fixed instant on {@code 1970-01-01Z}.
2929
* </p>
30+
* <h2>Internal usage only!</h2>
31+
* <p>
32+
* This class is intended only for internal Log4j usage.
33+
* <b>Log4j users should not use this class!</b>
34+
* This class is not subject to any backward compatibility concerns.
35+
* </p>
3036
*
3137
* @since 2.25.0
3238
*/

log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/instant/InstantPatternFormatter.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828

2929
/**
3030
* Contract for formatting {@link Instant}s using a date & time formatting pattern.
31+
* <h2>Internal usage only!</h2>
32+
* <p>
33+
* This class is intended only for internal Log4j usage.
34+
* <b>Log4j users should not use this class!</b>
35+
* This class is not subject to any backward compatibility concerns.
36+
* </p>
3137
*
3238
* @since 2.25.0
3339
*/

log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/instant/package-info.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,22 @@
1414
* See the license for the specific language governing permissions and
1515
* limitations under the license.
1616
*/
17+
/**
18+
* Utilities for formatting log event {@link org.apache.logging.log4j.core.time.Instant}s.
19+
* <h2>Internal usage only!</h2>
20+
* <p>
21+
* This package is intended only for internal Log4j usage.
22+
* <b>Log4j users should not use this package!</b>
23+
* This package is not subject to any backward compatibility concerns.
24+
* </p>
25+
*
26+
* @since 2.25.0
27+
*/
28+
@Export
29+
@Version("2.25.0")
1730
@NullMarked
1831
package org.apache.logging.log4j.core.util.internal.instant;
1932

2033
import org.jspecify.annotations.NullMarked;
34+
import org.osgi.annotation.bundle.Export;
35+
import org.osgi.annotation.versioning.Version;

0 commit comments

Comments
 (0)