Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Locale ¶ added in v1.9.2
type Locale struct {
// contains filtered or unexported fields
}
Locale => java.util.Locale
func GetLocaleFromHandler ¶ added in v1.9.2
func GetLocaleFromHandler(localeHandler *LocaleHandle) *Locale
GetLocaleFromHandler is use LocaleHandle get Locale
type LocaleEnum ¶ added in v1.9.2
type LocaleEnum int
LocaleEnum is Locale enumeration value
const ( ENGLISH LocaleEnum = iota FRENCH GERMAN ITALIAN JAPANESE KOREAN CHINESE SIMPLIFIED_CHINESE TRADITIONAL_CHINESE FRANCE GERMANY ITALY JAPAN KOREA CHINA PRC TAIWAN UK US CANADA CANADA_FRENCH ROOT )
Locale struct enum
type LocaleHandle ¶ added in v1.9.2
type LocaleHandle struct {
Value string `hessian:"value"`
}
LocaleHandle => com.alibaba.com.caucho.hessian.io.LocaleHandle object
func (LocaleHandle) JavaClassName ¶ added in v1.9.2
func (LocaleHandle) JavaClassName() string
type UUID ¶
type UUID struct { MostSigBits int64 `hessian:"mostSigBits"` LeastSigBits int64 `hessian:"leastSigBits"` }
java.util.UUID
func (UUID) JavaClassName ¶
func (UUID) String ¶
String returns a string object representing this UUID. The UUID string representation is as described by this BNF:
UUID = <time_low> "-" <time_mid> "-"
<time_high_and_version> "-" <variant_and_sequence> "-" <node>
time_low = 4*<hexOctet> time_mid = 2*<hexOctet> time_high_and_version = 2*<hexOctet> variant_and_sequence = 2*<hexOctet> node = 6*<hexOctet> hexOctet = <hexDigit><hexDigit> hexDigit =
"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "A" | "B" | "C" | "D" | "E" | "F"
Returns: A string representation of this UUID