private def afterFeedChangeDate()

in app/com/gu/itunes/iTunesRssFeed.scala [34:40]


  private def afterFeedChangeDate(capiDateTime: CapiDateTime) =
    Instant.ofEpochMilli(capiDateTime.dateTime).isAfter(feedChangeDate)

  private def appleExcessDownloadsWorkaround(items: List[Content]) = {
    val (afterChange, beforeChange) = items.partition(_.webPublicationDate.exists(afterFeedChangeDate))
    afterChange ++ beforeChange.take(100)
  }