hours property

int hours

Gets the hours component of the time zone offset represented by this instance.

Implementation

int get hours {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TimeZoneOffset_getHours(
      _handle,
      errorHandler,
    );
  });
}