예제 #1
0
 def starts_within(self, days):
     """
     Returns True if the course starts with-in given number of days otherwise returns False.
     """
     return course_metadata_utils.course_starts_within(self.start, days)
예제 #2
0
    def starts_within(self, days):
        """
        Returns True if the course starts with-in given number of days otherwise returns False.
        """

        return course_metadata_utils.course_starts_within(self.start, days)