View Javadoc
1   package org.djutils.cli;
2   
3   import java.lang.annotation.ElementType;
4   import java.lang.annotation.Retention;
5   import java.lang.annotation.RetentionPolicy;
6   import java.lang.annotation.Target;
7   
8   /**
9    * DefaultValueLocale.java.
10   * <p>
11   * Copyright (c) 2025-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
12   * for project information <a href="https://djutils.org" target="_blank"> https://djutils.org</a>. The DJUTILS project is
13   * distributed under a three-clause BSD-style license, which can be found at
14   * <a href="https://djutils.org/docs/license.html" target="_blank"> https://djutils.org/docs/license.html</a>.
15   * </p>
16   * @author <a href="https://www.tudelft.nl/averbraeck">Alexander Verbraeck</a>
17   */
18  @Retention(RetentionPolicy.RUNTIME)
19  @Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD})
20  public @interface DefaultValueLocale
21  {
22      /**
23       * The locale to use.
24       * @return the locale to use
25       */
26      String value() default "en";
27  }