TimeFormat.get#

static TimeFormat.get(value)[source]#

Get an instance of this with value.

Parameters:

value (str) – The value of the enum to get the entire class for

Returns:

The gotten time format

Return type:

time_format

Raises:

ValueError: – If the given value cannot be found in the class enums.