class EXPDPersistenceService extends QueryableImpl implements ExternalDataPersistenceService {

    public VideoMoment findTimecodeNearDate(String platform, Date date, int millisecTolerance) {

        List<VideoMoment> tapeTimes = findTimecodesNearDate(platform, date, millisecTolerance);

        /*
         * Find the nearest time to our date
         */
        VideoMoment nearestDateTimecode = null;
        long dtMin = Long.MAX_VALUE;
        for (VideoMoment tapeTime : tapeTimes) {
            Date d = tapeTime.getRecordedDate();
            long dt = Math.abs(d.getTime() - date.getTime());
            if (dt < dtMin) {
                dtMin = dt;
                nearestDateTimecode = tapeTime;
            }
        }

        return nearestDateTimecode;
    }

    public  EXPDPersistenceService();

}