Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 38654 invoked from network); 7 Oct 2006 10:00:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Oct 2006 10:00:58 -0000 Received: (qmail 23435 invoked by uid 500); 7 Oct 2006 10:00:56 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 22395 invoked by uid 500); 7 Oct 2006 10:00:54 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 22384 invoked by uid 99); 7 Oct 2006 10:00:54 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Oct 2006 03:00:54 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=scolebourne@btopenworld.com; domainkeys=good X-ASF-Spam-Status: No, hits=1.9 required=5.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [217.12.12.195] ([217.12.12.195:33635] helo=smtp805.mail.ukl.yahoo.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id AB/87-24193-ECA77254 for ; Sat, 07 Oct 2006 03:00:50 -0700 Received: (qmail 35746 invoked from network); 7 Oct 2006 10:00:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=btopenworld.com; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Antivirus:X-Antivirus-Status; b=yXwSFo1PaHRg1jqs/Yd2JYVW7asjXWXDJwdXvJ9RUvVdiOFTjh5fBsGfrqELiPLxNMZUmBiMpbZi3gQwfvQCaPbuRDLUDjSj0nFBgiHLsZdFJ8OF/PM1neWhOzpBiDcO4i2MGotStqQD4n0f/rBna3e5+xR8MqcwG7Ytr39DVfw= ; Received: from unknown (HELO ?127.0.0.1?) (scolebourne@btinternet.com@86.142.233.181 with plain) by smtp805.mail.ukl.yahoo.com with SMTP; 7 Oct 2006 10:00:06 -0000 Message-ID: <45277AA5.9010803@btopenworld.com> Date: Sat, 07 Oct 2006 11:00:05 +0100 From: Stephen Colebourne User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Users List Subject: Re: [lang] Can I create date with jakarta commons References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0640-5, 07/10/2006), Outbound message X-Antivirus-Status: Clean X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N There is no such function at present. Feel free to add a request in JIRA. Stephen baranovsky@liga.net wrote: > Good day! > > I need sometimes to create concrete Date object. I have the function to do > it now: > > public static Date createDate(int year, int month, int day){ > Calendar calendar = Calendar.getInstance(); > > calendar.set(year, month, day, 0, 0, 0); > calendar.set(Calendar.MILLISECOND, 0); > > return calendar.getTime(); > } > > Is there such function in commons? > > Thanks! > > _____________ > With best regards, > Vitaly Baranovsky > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org