Frequency constructor

Frequency(
  1. double frequency,
  2. FrequencyUnit unit
)

Implementation

Frequency(double frequency, FrequencyUnit unit):
      value = FrequencyValue.from(unit, frequency);