2022-07-25 22:46:48 +00:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
|
|
class UnitAreaFormat(str, Enum):
|
2023-05-04 00:58:06 -07:00
|
|
|
"""The valid types of area unit formats.""" # noqa: E501
|
|
|
|
|
|
|
|
"""# <https://en.wikipedia.org/wiki/Square_metre> """ # noqa: E501
|
|
|
|
SQUARE_METER = "square_meter"
|
|
|
|
"""# <https://en.wikipedia.org/wiki/Square_foot> """ # noqa: E501
|
|
|
|
SQUARE_FOOT = "square_foot"
|
|
|
|
"""# <https://en.wikipedia.org/wiki/Square_inch> """ # noqa: E501
|
|
|
|
SQUARE_INCH = "square_inch"
|
|
|
|
"""# <https://en.wikipedia.org/wiki/Square_mile> """ # noqa: E501
|
|
|
|
SQUARE_MILE = "square_mile"
|
|
|
|
"""# <https://en.wikipedia.org/wiki/Square_kilometre> """ # noqa: E501
|
|
|
|
SQUARE_KILOMETER = "square_kilometer"
|
|
|
|
"""# <https://en.wikipedia.org/wiki/Hectare> """ # noqa: E501
|
|
|
|
HECTARE = "hectare"
|
|
|
|
"""# <https://en.wikipedia.org/wiki/Acre> """ # noqa: E501
|
|
|
|
ACRE = "acre"
|
2022-07-25 22:46:48 +00:00
|
|
|
|
|
|
|
def __str__(self) -> str:
|
|
|
|
return str(self.value)
|