LocaleUtil (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.asn1

## Class LocaleUtil

- java.lang.Object
- - org.bouncycastle.asn1.LocaleUtil

-     public class LocaleUtil
      extends java.lang.Object

  ASN.1 uses an EN locale for its internal formatting. This class finds the nearest equivalent in the current JVM to ensure date formats are always respected.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.util.Locale` | `EN_Locale`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocaleUtil()`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### EN_Locale

          public static java.util.Locale EN_Locale

  - ### Constructor Detail

    - #### LocaleUtil

          public LocaleUtil()