⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 daterange.java

📁 这个是网络上下载的一个struct框架的程序
💻 JAVA
字号:
/* * $RCSfile: DateRange.java,v $ * $Revision: 1.1 $ * $Date: 2002/11/20 04:03:17 $ * * Copyright (C) 1999-2002 CoolServlets, Inc. All rights reserved. * * This software is the proprietary information of CoolServlets, Inc. * Use is subject to license terms. */package com.struts2.framework.util;import java.util.Date;/** * A DateRange converts an abstract starting and ending time into specific * instances in time. For example, the conceptual date range of "last year" * might be translated into the actual start and end date of "January 1, 2000" * to "December 31, 2000." */public interface DateRange {    /**     * Returns a specific start date for this date range based on the specified     * date.     *     * @param date the date to base a date range calculation on. Most often,     *      this will be the current instance in time.     * @return a specific start date based on <tt>date</tt>.     */    public abstract Date getStartDate(Date date);    /**     * Returns a specific end date for this date range based on the specified     * date.     *     * @param date the date to base a date range calculation on. Most often,     *      this will be the current instance in time.     * @return a specific end date based on <tt>date</tt>.     */    public abstract Date getEndDate(Date date);    /**     * Returns a string representing a human-readable descriptive name of     * this date range.     *     * @return a descriptive name of this date range.     */    public String getDisplayName();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -