Class LocaleZoneIdUtil

  • All Implemented Interfaces:

    
    public class LocaleZoneIdUtil
    
                        
    Since:

    2022-10-09

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static ZoneId ZoneIdNullable() Get the ZoneId of the current thread with priority logined TerminalContext, LocaleContextHolder
      static Locale LocaleNullable() Get the Locale of the current thread with priority logined TerminalContext, LocaleContextHolder
      static ZoneId ZoneIdNonnull() Get the ZoneId of the current thread with priority logined TerminalContext, LocaleContextHolder, systemDefault
      static Locale LocaleNonnull() Get the Locale of the current thread with priority logined TerminalContext, LocaleContextHolder, systemDefault
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocaleZoneIdUtil

        LocaleZoneIdUtil()
    • Method Detail

      • ZoneIdNullable

        @Nullable() static ZoneId ZoneIdNullable()

        Get the ZoneId of the current thread with priority logined TerminalContext, LocaleContextHolder

      • LocaleNullable

        @Nullable() static Locale LocaleNullable()

        Get the Locale of the current thread with priority logined TerminalContext, LocaleContextHolder

      • ZoneIdNonnull

        @NotNull() static ZoneId ZoneIdNonnull()

        Get the ZoneId of the current thread with priority logined TerminalContext, LocaleContextHolder, systemDefault

      • LocaleNonnull

        @NotNull() static Locale LocaleNonnull()

        Get the Locale of the current thread with priority logined TerminalContext, LocaleContextHolder, systemDefault