// generated by diplomat-tool import type { TimeZoneInvalidOffsetError } from "./TimeZoneInvalidOffsetError" import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
/** *Seethe[Rustdocumentationfor`UtcOffset`](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html) for more information.
*/
export class UtcOffset { /** @internal */
get ffiValue(): pointer; /** @internal */
constructor();
/** *Createsanoffsetfromseconds. * *Errorsiftheoffsetsecondsareoutofrange. * *Seethe[Rustdocumentationfor`try_from_seconds`](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html#method.try_from_seconds) for more information.
*/ static fromSeconds(seconds: number): UtcOffset;
/** *Createsanoffsetfromastring. * *Seethe[Rustdocumentationfor`try_from_str`](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html#method.try_from_str) for more information. * *Additionalinformation:[1](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html)
*/ static fromString(offset: string): UtcOffset;
/** *Returnsthevalueasoffsetseconds. * *Seethe[Rustdocumentationfor`offset`](https://docs.rs/icu/2.1.1/icu/time/struct.TimeZoneInfo.html#method.offset) for more information. * *Seethe[Rustdocumentationfor`to_seconds`](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html#method.to_seconds) for more information. * *Additionalinformation:[1](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html)
*/
get seconds(): number;
/** *Returnswhethertheoffsetispositive. * *Seethe[Rustdocumentationfor`is_non_negative`](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html#method.is_non_negative) for more information. * *Additionalinformation:[1](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html)
*/
get isNonNegative(): boolean;
/** *Returnswhethertheoffsetiszero. * *Seethe[Rustdocumentationfor`is_zero`](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html#method.is_zero) for more information. * *Additionalinformation:[1](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html)
*/
get isZero(): boolean;
/** *Returnsthehourspartoftheoffset. * *Seethe[Rustdocumentationfor`hours_part`](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html#method.hours_part) for more information. * *Additionalinformation:[1](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html)
*/
get hoursPart(): number;
/** *Returnstheminutespartoftheoffset. * *Seethe[Rustdocumentationfor`minutes_part`](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html#method.minutes_part) for more information. * *Additionalinformation:[1](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html)
*/
get minutesPart(): number;
/** *Returnsthesecondspartoftheoffset. * *Seethe[Rustdocumentationfor`seconds_part`](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html#method.seconds_part) for more information. * *Additionalinformation:[1](https://docs.rs/icu/2.1.1/icu/time/zone/struct.UtcOffset.html)
*/
get secondsPart(): number;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.14 Sekunden
(vorverarbeitet am 2026-08-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.