
package de.ivu.elect.business;

import java.util.Locale;
import java.util.TimeZone;

import javax.enterprise.inject.Specializes;

@Specializes
public class NlSystemDefaults extends ElectSystemDefaults {

  private static final long serialVersionUID = 1L;

  private static final Locale DUTCH_LOCALE;

  private static final TimeZone TIME_ZONE_AMSTERDAM;

  @Override
  public Locale getExpectedServerLocale() {
    return DUTCH_LOCALE;
  }

  static {
    DUTCH_LOCALE = new Locale("nl", "NL");
    TIME_ZONE_AMSTERDAM = TimeZone.getTimeZone("Europe/Amsterdam");
  }

  @Override
  public TimeZone getExpectedServerTimeZone() {
    return TIME_ZONE_AMSTERDAM;
  }
}
