public static final Rate parseRate(BigDecimal value)
   {
      Rate result = null;

      if (value != null)
      {
         result = new Rate(value, TimeUnit.HOURS);
      }

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

@param value rate value
@return Rate instance