ILibTimeZone.fromOffset constructor
ILibTimeZone.fromOffset(
- int offsetMinutes
Create a fixed-offset zone offsetMinutes east of UTC, with no DST. The
id is derived as an RFC 822 style string (e.g. 'UTC+0530').
Implementation
ILibTimeZone.fromOffset(int offsetMinutes)
: _id = _offsetToRfc822(offsetMinutes) {
_offset = offsetMinutes.toDouble();
_dstSavings = 0;
}