isUtc property

  1. @override
bool isUtc
override

True if this temporal object is set to UTC time.

Implementation

@override
bool get isUtc {
  final s = start;
  if (s != null && !s.isUtc) {
    return false;
  }
  final e = end;
  if (e != null && !e.isUtc) {
    return false;
  }
  return true;
}