previous

Returns the previous value of this enum (ordered the same way as declared in code, i.e. by ordinal).

If the current value is the first, returns the last value.

See also