def METHOD_NAME(custom_format_name):
    class Custom(TimeFormat):
        name = custom_format_name
        def set_jds(self, val, val2):
            self.jd1, self.jd2 = 7.0, 3.0
        @property
        def value(self):
            return self.jd1 + self.jd2
    getattr(Time(5, format=custom_format_name), custom_format_name)