Companion object containing factory methods for UnitFrom.
Parses a string to find the corresponding UnitFrom value.