public static Date getLastUpdateTime(GoogleMediaItem mediaItem) throws ParseException  {
    return (mediaItem.favoriteInfo == null  || mediaItem.favoriteInfo.getLastUpdateTime() == null)
        ? getCreationTime(mediaItem) : mediaItem.favoriteInfo.getLastUpdateTime();
  }
Nearly identical variant of {@link Instant#parse} that, per RFC3339, is okay with either
offsets or "Z" indicator.
extensions/data-transfer/portability-data-transfer-google/src/main/java/org/datatransferproject/datatransfer/google/mediaModels/GoogleMediaItem.java