Skip to content

Commit

Permalink
Update simulator/src/main/java/be/kdg/simulator/services/impl/utils/F…
Browse files Browse the repository at this point in the history
…requencyDecider.java
  • Loading branch information
jarne authored and jarne committed Nov 6, 2018
1 parent f9b7338 commit 9348510
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ public class FrequencyDecider {
@Autowired
public FrequencyDecider(FrequencyConfig frequencyConfig) {
this.frequencyConfig = frequencyConfig;
initialzeTimePeriods();
initializeTimePeriods();
}

/**
* Initializes the timestamp ranges based on the information
* out of the config file
*/
private void initialzeTimePeriods() {
private void initializeTimePeriods() {
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("HH:mm");

String[] morningHours = frequencyConfig.getMorningHours().split("-");
Expand Down

0 comments on commit 9348510

Please sign in to comment.