# The following has been generated automatically from src/core/qgsinterval.h
try:
    QgsInterval.__attribute_docs__ = {'YEARS': 'Seconds per year (average)', 'MONTHS': 'Seconds per month, based on 30 day month', 'WEEKS': 'Seconds per week', 'DAY': 'Seconds per day', 'HOUR': 'Seconds per hour', 'MINUTE': 'Seconds per minute'}
    QgsInterval.__annotations__ = {'YEARS': int, 'MONTHS': int, 'WEEKS': int, 'DAY': int, 'HOUR': int, 'MINUTE': int}
    QgsInterval.fromString = staticmethod(QgsInterval.fromString)
except (NameError, AttributeError):
    pass
