Class UserLocale

java.lang.Object
com.codebarrel.automation.api.user.UserLocale

@Component public class UserLocale extends Object
Provides helper methods to convert user locales to actual locale objects and check if the current User Locale is the same as the Default Locale.
  • Constructor Details

  • Method Details

    • getUserLocale

      public static Locale getUserLocale(@Nullable UserBean user)
    • isCurrentUserLocaleDefault

      public boolean isCurrentUserLocaleDefault()