/*
 * Copyright (c) 2007 NTT DATA Corporation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package jp.terasoluna.thin.functionsample.date.web.form;

import jp.terasoluna.fw.web.struts.form.ValidatorActionFormEx;

/**
 * date機能で使われるActionForm
 * 
 */
public class DateForm extends ValidatorActionFormEx {

    /**
     * シリアルバージョンID
     */
    private static final long serialVersionUID = 1338847798328834394L;

    /**
     * 出力対象日付。
     */
    private String date = "2005/03/09 04:56:23";

    /**
     * 出力対象日付を返却する。
     * 
     * @return 出力対象日付
     */
    public String getDate() {
        return date;
    }

    /**
     * 出力対象日付を設定する。
     * 
     * @param date 出力対象日付
     */
    public void setDate(String date) {
        this.date = date;
    }
}