TimeZoneFormat.FormatOffsetShortLocalizedGMT(Int32) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce il formato di offset GMT (UTC) localizzato breve per l'offset specificato.
[Android.Runtime.Register("formatOffsetShortLocalizedGMT", "(I)Ljava/lang/String;", "GetFormatOffsetShortLocalizedGMT_IHandler", ApiSince=24)]
public virtual string? FormatOffsetShortLocalizedGMT(int offset);
[<Android.Runtime.Register("formatOffsetShortLocalizedGMT", "(I)Ljava/lang/String;", "GetFormatOffsetShortLocalizedGMT_IHandler", ApiSince=24)>]
abstract member FormatOffsetShortLocalizedGMT : int -> string
override this.FormatOffsetShortLocalizedGMT : int -> string
Parametri
- offset
- Int32
offset da GMT (UTC) in millisecondi.
Valori restituiti
stringa di formato GMT localizzata breve
- Attributi
Commenti
Restituisce il formato di offset GMT (UTC) localizzato breve per l'offset specificato. L'offset GMT localizzato breve è definito da; <ul><modello>di formato LI GMT (ad esempio "GMT {0}" - vedere #getGMTPattern()) <modello di tempo di offset li>(ad esempio, "+HH:mm" - vedere #getGMTOffsetPattern(GMTOffsetPatternType)) <cifre di offset li>(ad esempio "0123456789" - vedere #getGMTOffsetDigits()) <>formato zero GMT (ad esempio "GMT" - vedere #getGMTZeroFormat()) </ul> Questo formato usa la rappresentazione più breve dell'offset. Il campo ore non include zero iniziale e campi inferiori con zero verrà troncato. Ad esempio, GMT +5 e GMT +530.
per android.icu.text.TimeZoneFormat.formatOffsetShortLocalizedGMT(int).
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.