Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Locales

Locale Helper

Hierarchy

  • Locales

Index

Methods

Methods

Static country

  • country(locale: Locale): string
  • Parses and returns the country of locale string. 解析并返回时区字符串中的国别信息

    Parameters

    Returns string

Static lang

  • lang(locale: Locale): string
  • Parses and returns the language of locale string. 解析并返回时区字符串中的语言信息

    Parameters

    Returns string