From dev-return-4198-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Mon Feb 19 17:27:03 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2A717180607 for ; Mon, 19 Feb 2018 17:27:02 +0100 (CET) Received: (qmail 28962 invoked by uid 500); 19 Feb 2018 16:27:02 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 28948 invoked by uid 99); 19 Feb 2018 16:27:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Feb 2018 16:27:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1958D18006F for ; Mon, 19 Feb 2018 16:27:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id oB14nZmYePwS for ; Mon, 19 Feb 2018 16:26:59 +0000 (UTC) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7E79C5F3D1 for ; Mon, 19 Feb 2018 16:26:59 +0000 (UTC) Received: by mail-io0-f182.google.com with SMTP id t22so11847339ioa.7 for ; Mon, 19 Feb 2018 08:26:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=CGJqrHKtG+Rswq/ny/1xXN38tweEXdz8fXXDotbhQ+k=; b=SRVN8x3T89aznTUccyAtWbCU3mZRS20WmMYu/eFY2ZD8yY5iMlbEqv8PdD+sF3gS/1 6D1t37TxfrMmdwgtdh8u9mEmCuik/3g6cKwfwV98jqKRnDVDoj034RZi4M3RVPrW5d19 pXIY/rQzjAi33CqJ9Kk5Gne+hSb156OyJcMnID5cchPOX5P8nx6w3SgRgQeK7gbFuGow w3/LLDEJtkjmnYQtC+wo9QQRzHblAqqw8iZKLjE6njO5yoFPRDVj5n8vNa5hW7nA43sM mzmJfW0SRQMqm8k+sFjN/2IjLG+/3XUAmb08sjGzGj6ZKOBt9CibwpFKvoTlHETvXYmc BEMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=CGJqrHKtG+Rswq/ny/1xXN38tweEXdz8fXXDotbhQ+k=; b=Nr4Z2EiC/Z1lkM7pUKYWcxHp48BsPc5QS+sWKVSNtJQyB2zlZCOVD9x43GcAkx80kk 2haHPx4OIZo0c4FIiUMq2S1Y69g6xMdti1wNbxY6GXwwsD5e232LHp6sHalnbAMwBUvf z+MdssQhdrDIgdlkmxPOt3/TDaCysywcJfzsHIonjCRVbTM7CwK9aFh29x/qG7IjSyr0 T0NKcN5lBLy5AwEjjWDvttHAueyNQBLIUCn3WlHuGoC9I1+HvCgWdgf5OcDT8z7Nd11I MGcXgoft5QJ/Ww+Q+npFYMlhzYubGciFEIbMWnpYEFlEL1BGjK52aYZor0ods6Zm7GhT OBXA== X-Gm-Message-State: APf1xPCnhrJ839eRDWpvkyFb6OZx+7Z1zk/ef/amOhTNoyjtvxOe0+yr 9U5UQJ1cgPsxKGGRm3ZrbNTcMvqhJ68VZcs1yiJ+WA== X-Google-Smtp-Source: AH8x225R0QvymltV0WFSsBjJ7aQ2lvl9uOC6vmMUOoxxvlMkhuJHwl072BfCgiRpeNEFuVVEa4NNEn5gHYGA4hiD5qE= X-Received: by 10.107.145.7 with SMTP id t7mr20303974iod.296.1519057618606; Mon, 19 Feb 2018 08:26:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.86.3 with HTTP; Mon, 19 Feb 2018 08:26:58 -0800 (PST) In-Reply-To: References: From: Guillaume Laforge Date: Mon, 19 Feb 2018 17:26:58 +0100 Message-ID: Subject: Re: Java 8 Date/Time API Extensions Methods [GROOVY-8334] To: dev@groovy.apache.org Content-Type: multipart/alternative; boundary="94eb2c055a7ec0227105659329bc" --94eb2c055a7ec0227105659329bc Content-Type: text/plain; charset="UTF-8" Sounds awesome! Anyhow, I already like what I see, those methods sound very useful to me! On Mon, Feb 19, 2018 at 4:37 PM, Joe Wolf wrote: > Good idea--I should have thought of that earlier! I'll draft up some > documentation in a new section of the core-gdk.adoc file and post a link > for review. > > -Joe > > On Mon, Feb 19, 2018 at 4:50 AM, Guillaume Laforge > wrote: > >> This looks very complete, at first sight, that's really wonderful! >> I'm really looking forward to seeing that integrated. >> >> Did you also have a pointer to a doc / page / blog which shows those >> methods in action? >> (which we could potentially add to our online documentation) >> >> Guillaume >> >> On Mon, Feb 19, 2018 at 12:16 AM, Joe Wolf wrote: >> >>> I've finally gotten around to adding extension methods to the Groovy >>> JDK for the java.time types. See https://issues.apache.org/ >>> jira/browse/GROOVY-8334 for reference. >>> >>> I've generated a copy of the Groovy JDK apidocs with my current changes >>> here: http://bdkosher.github.io/groovy-3.0-alpha/groovy-jdk/ >>> >>> >>> The additions are in the java.time and java.time.temporal packages, >>> obviously, as well as some "since 3.0" methods in java.util.Date and >>> java.util.Calendar >>> >>> I thought it was worthwhile to open up these API changes for discussion >>> here before submitting a PR. There may be things included which should not >>> be or things not included that should. >>> >>> -Joe >>> >> >> >> >> -- >> Guillaume Laforge >> Apache Groovy committer & PMC Vice-President >> Developer Advocate @ Google Cloud Platform >> >> Blog: http://glaforge.appspot.com/ >> Social: @glaforge / Google+ >> >> > > -- Guillaume Laforge Apache Groovy committer & PMC Vice-President Developer Advocate @ Google Cloud Platform Blog: http://glaforge.appspot.com/ Social: @glaforge / Google+ --94eb2c055a7ec0227105659329bc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sounds awesome!
Anyhow, I already like what I see, tho= se methods sound very useful to me!
<= br>
On Mon, Feb 19, 2018 at 4:37 PM, Joe Wolf <j= oewolf@gmail.com> wrote:
Good idea--I should have thought of that earlier! I'll d= raft up some documentation in a new section of the core-gdk.adoc file and p= ost a link for review.
<= br>
-Joe

On Mon, = Feb 19, 2018 at 4:50 AM, Guillaume Laforge <glaforge@gmail.com> wrote:
This looks v= ery complete, at first sight, that's really wonderful!
I'm real= ly looking forward to seeing that integrated.

Did = you also have a pointer to a doc / page / blog which shows those methods in= action?
(which we could potentially add to our online documentat= ion)

Guillaume

On Mon, Feb 19, 2018 at 12:16 AM, Joe Wolf <joewolf@gmail.com> wrote:
I've fi= nally gotten around to adding extension methods to the=C2=A0Groovy JDK=C2=A0for the java.time types. See=C2=A0https://i= ssues.apache.org/jira/browse/GROOVY-8334 for reference.
I've gene= rated a copy of the Groovy JDK apidocs with my current changes here:=C2=A0<= a href=3D"http://bdkosher.github.io/groovy-3.0-alpha/groovy-jdk/" target=3D= "_blank">http://bdkosher.github.io/groovy-3.0-alpha/groovy-jdk/= =C2=A0

The additions are in the java.time and = java.time.temporal packages, obviously, as well as some "since 3.0&quo= t; methods in java.util.Date and java.util.Calendar

I thought it was worthwhile to open up these API changes for discussion h= ere before submitting a PR. There may be things included which should not b= e or things not included that should.

-Joe



--
Guillaum= e Laforge
Apache Groovy committer & PMC Vice-President
Developer Advocate @ Google Cloud Platform





--
=
--94eb2c055a7ec0227105659329bc--