parseUtc method

DateTime parseUtc (String inputString)

Given user input, attempt to parse the inputString into the anticipated format, treating it as being in UTC.

The canonical Dart style name is parseUtc, but parseUTC is retained for backward-compatibility.

Implementation

DateTime parseUtc(String inputString) => parse(inputString, true);