Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 81258 invoked from network); 1 Aug 2007 16:51:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2007 16:51:26 -0000 Received: (qmail 19588 invoked by uid 500); 1 Aug 2007 16:51:17 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 19497 invoked by uid 500); 1 Aug 2007 16:51:16 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 19450 invoked by uid 500); 1 Aug 2007 16:51:16 -0000 Delivered-To: apmail-jakarta-commons-dev@jakarta.apache.org Received: (qmail 19445 invoked by uid 99); 1 Aug 2007 16:51:16 -0000 Received: from igron-1.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 09:51:15 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 16:50:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 30E4E7141ED for ; Wed, 1 Aug 2007 09:50:53 -0700 (PDT) Message-ID: <21112363.1185987053197.JavaMail.jira@brutus> Date: Wed, 1 Aug 2007 09:50:53 -0700 (PDT) From: "Nathan Silberman (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Created: (LANG-350) New RandomDateUtils class in the lang.time package MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org New RandomDateUtils class in the lang.time package -------------------------------------------------- Key: LANG-350 URL: https://issues.apache.org/jira/browse/LANG-350 Project: Commons Lang Issue Type: New Feature Affects Versions: 2.3 Reporter: Nathan Silberman Priority: Minor A new RandomDateUtils class that would provide methods for returning random datetimes and random simple dates. Its functionality would include but not limited to the following: /* * Random datetime after Janurary 1st, 1970 */ public static Date randomDate(); /* * A Random datetime after the given date */ public static Date randomDateAfter( Date date ); /* * A Random datetime before the given date */ public static Date randomDateBefore( Date date ); /* * Random datetime after this instant */ public static Date randomFutureDate(); /* * Random datetime before this instant */ public static Date randomPastDate(); /* * Random date (zeroed out time) after Janurary 1st, 1970 */ public static Date randomSimpleDate(); /* * A Random date (zeroed out time) after the given date */ public static Date randomSimpleDateAfter( Date date ); /* * A Random date (zeroed out time) before the given date */ public static Date randomSimpleDateBefore( Date date ); /* * Random date (zeroed out time) after this instant */ public static Date randomSimpleFutureDate(); /* * Random date (zeroed out time) before this instant */ public static Date randomSimplePastDate(); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org