UtcOffset class final

See the Rust documentation for UtcOffset for more information.

Implemented types

Constructors

UtcOffset.fromSeconds(int seconds)
Creates an offset from seconds.
factory
UtcOffset.fromString(String offset)
Creates an offset from a string.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hoursPart int
Returns the hours part of the offset.
no setter
isNonNegative bool
Returns whether the offset is positive.
no setter
isZero bool
Returns whether the offset is zero.
no setter
minutesPart int
Returns the minutes part of the offset.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seconds int
Returns the value as offset seconds.
no setter
secondsPart int
Returns the seconds part of the offset.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited