Introduce static method for displaying frequencies

FrequencyParameter isn't the only one who needs this algorithm.