class DateHeaderDelegate implements RuntimeDelegate.HeaderDelegate<Date> {

    @Override
    public String toString(Date date) {
        if (date == null) {
            throw new IllegalArgumentException();
        }
        return HeaderHelper.formatDate(date);
    }

}