code: public static final Rate parseRate(BigDecimal value)
     {
        Rate result = null;
  
        if (value != null)
        {
           result = new Rate(value, TimeUnit.HOURS);
        }
  
        return (result);
     }
docs: Parse rate.
  
  @param value rate value
  @return Rate instance