def getMissingMonthsBetweenUpdates(self, update1InIsoFormat, update2InIsoFormat ): """ @summary : Returns the list of days between update date 1 and update date 2. @Note : If update1InIsoFormat = 2008-02-28 15:00:00 and update2InIsoFormat = 2008-02-28 15:00:00 this method would return [ 2008-02-28 15:00:00 ] @return : Returns the list of days between update date 1 and update date 2. """ missingMonths = [] if update2InIsoFormat > update1InIsoFormat: monthInIsoFormat = update1InIsoFormat while monthInIsoFormat <= update2InIsoFormat : missingMonths.append( monthInIsoFormat ) monthInIsoFormat = StatsDateLib.addMonthsToIsoDate( monthInIsoFormat, 1 ) return missingMonths[:-1]