Home
last modified time | relevance | path

Searched refs:parseXsDateTime (Results 1 – 6 of 6) sorted by relevance

/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DUtilTest.java22 import static com.google.android.exoplayer2.util.Util.parseXsDateTime;
664 assertThat(parseXsDateTime("2014-06-19T23:07:42")).isEqualTo(1403219262000L); in parseXsDateTime_returnsParsedDateTimeInMillis()
665 assertThat(parseXsDateTime("2014-08-06T11:00:00Z")).isEqualTo(1407322800000L); in parseXsDateTime_returnsParsedDateTimeInMillis()
666 assertThat(parseXsDateTime("2014-08-06T11:00:00,000Z")).isEqualTo(1407322800000L); in parseXsDateTime_returnsParsedDateTimeInMillis()
667 assertThat(parseXsDateTime("2014-09-19T13:18:55-08:00")).isEqualTo(1411161535000L); in parseXsDateTime_returnsParsedDateTimeInMillis()
668 assertThat(parseXsDateTime("2014-09-19T13:18:55-0800")).isEqualTo(1411161535000L); in parseXsDateTime_returnsParsedDateTimeInMillis()
669 assertThat(parseXsDateTime("2014-09-19T13:18:55.000-0800")).isEqualTo(1411161535000L); in parseXsDateTime_returnsParsedDateTimeInMillis()
670 assertThat(parseXsDateTime("2014-09-19T13:18:55.000-800")).isEqualTo(1411161535000L); in parseXsDateTime_returnsParsedDateTimeInMillis()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DPlayerEmsgHandler.java18 import static com.google.android.exoplayer2.util.Util.parseXsDateTime;
273 return parseXsDateTime(Util.fromUtf8Bytes(eventMessage.messageData));
DDashMediaSource.java945 long utcTimestampMs = Util.parseXsDateTime(timingElement.value); in resolveUtcTimingElementDirect()
1417 return Util.parseXsDateTime(firstLine); in parse()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java712 C.msToUs(Util.parseXsDateTime(line.substring(line.indexOf(':') + 1))); in parseMediaPlaylist()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java1069 public static long parseXsDateTime(String value) throws ParserException { in parseXsDateTime() method in Util
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java1498 return Util.parseXsDateTime(value); in parseDateTime()