/*
 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * $Id$
 */

package com.sun.ts.tests.jsonb.customizedmapping.dateformat.model;

import java.util.Date;

import javax.json.bind.annotation.JsonbDateFormat;

import com.sun.ts.tests.jsonb.TypeContainer;

public class AnnotatedAccessorsDateContainer implements TypeContainer<Date> {
    private Date instance;

    @Override
    @JsonbDateFormat(value = "E DD MMM yyyy HH:mm:ss z", locale = "it")
    public Date getInstance() {
        return instance;
    }

    @Override
    @JsonbDateFormat(value = "E DD MMM yyyy HH:mm:ss z", locale = "de")
    public void setInstance(Date instance) {
        this.instance = instance;
    }
}
