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);