Class UtcOffset

See the Rust documentation for UtcOffset for more information.

Accessors

  • get hoursPart(): number
  • Returns the hours part of the offset.

    See the Rust documentation for hours_part for more information.

    Additional information: 1

    Returns number

  • get isNonNegative(): boolean
  • Returns whether the offset is positive.

    See the Rust documentation for is_non_negative for more information.

    Additional information: 1

    Returns boolean

  • get isZero(): boolean
  • Returns whether the offset is zero.

    See the Rust documentation for is_zero for more information.

    Additional information: 1

    Returns boolean

  • get minutesPart(): number
  • Returns the minutes part of the offset.

    See the Rust documentation for minutes_part for more information.

    Additional information: 1

    Returns number

  • get secondsPart(): number
  • Returns the seconds part of the offset.

    See the Rust documentation for seconds_part for more information.

    Additional information: 1

    Returns number

Methods