From dev-return-4197-archive-asf-public=cust-asf.ponee.io@groovy.apache.org Mon Feb 19 16:37:21 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 C57FE180607 for ; Mon, 19 Feb 2018 16:37:20 +0100 (CET) Received: (qmail 60314 invoked by uid 500); 19 Feb 2018 15:37:19 -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 60300 invoked by uid 99); 19 Feb 2018 15:37:19 -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 15:37:19 +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 A43A1180033 for ; Mon, 19 Feb 2018 15:37:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6jd6thHFWB93 for ; Mon, 19 Feb 2018 15:37:17 +0000 (UTC) Received: from mail-it0-f46.google.com (mail-it0-f46.google.com [209.85.214.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D7BD15F36F for ; Mon, 19 Feb 2018 15:37:16 +0000 (UTC) Received: by mail-it0-f46.google.com with SMTP id o13so9492418ito.2 for ; Mon, 19 Feb 2018 07:37:16 -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=jxBzCsiR+oY1P7mjOe0pFsHT/fkJMjxFDq218IakKwo=; b=fJBgDRJO/9JOC5shnUSS8PCtDz1bpvkZd5XTszqro3nLvRt1GVAWgW4HZ+//7surQX rqU0wNOcctSOL9N+fLEJAZ7m/XsT2TAHpGE6G9WdYelVyrHD7OUvdwodeqnp3+MUxC5Q wyrmo+BqiaOTovYBkleMILV461pC5afBYd6XmHG7G9rtQ/qcGAn7pdgURgTY16y1rpRu VWqsWf4BVRg3X19sNHFBf3D30sT74Q50DltvW5RZ879mIRR/FonqBEDlLvtG/Spr/bjT uQ65yK+6DyqYASxInnIPgL1IEo3IXJxiUnCnLn6uB+duvVeJ3rVKL8Nzf06V7c4J8pQk BhSA== 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=jxBzCsiR+oY1P7mjOe0pFsHT/fkJMjxFDq218IakKwo=; b=rD83UdXz8jv66Ep0+/dVJS45nfI8wfmQ2ahQtlok6Y1jGbp8SZZUDno57Gh8POfSMH JFkzRwR1Cjwy6seSMOIGBZp3J6E5VvvF9avLCB6gOcYwtxjhX4fkg9hCHLxeJC/V4vmB ULfSnZiZUOtVR4Rlr59HH/kGGaWPKj5T5kjA/Hl7X5kbvh5te2qU/Nneg/yUQPWU9pF2 VbDjezulnYT/HYchldb6qZGhotYsPvQs8tFqLJ/Er+ynhOKPi9tOL3sLI5NBsWtx1cib 3mWsQ/TZxfM+Po0ZrRC52iRs1WoI5dadZs5y3MZJVaA192hb2fhkxz6QmY6GE7+9QTDz XfsQ== X-Gm-Message-State: APf1xPBArmZQxPjCuC/FrraYz79QW8hS3Z3BdPboJsg2oBysE+7VHiYd Lx5OKUXQyy51cwN7P/7W6+kqXxIraCnp1rtXBtc= X-Google-Smtp-Source: AH8x225vwaQW8AtTl06q5ZSIaAXfK3gMoP6U1pou9qnognCej1/ZHZhrCC6nNTmVFnFZqT5oqeiv6z8dFn5dfFCBL4A= X-Received: by 10.36.9.11 with SMTP id 11mr19704905itm.129.1519054630010; Mon, 19 Feb 2018 07:37:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.50.7 with HTTP; Mon, 19 Feb 2018 07:37:09 -0800 (PST) In-Reply-To: References: From: Joe Wolf Date: Mon, 19 Feb 2018 10:37:09 -0500 Message-ID: Subject: Re: Java 8 Date/Time API Extensions Methods [GROOVY-8334] To: dev@groovy.apache.org Content-Type: multipart/alternative; boundary="001a113a26649dc299056592779e" --001a113a26649dc299056592779e Content-Type: text/plain; charset="UTF-8" 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+ > > --001a113a26649dc299056592779e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 <glaforge@gmail.com> wrote:
This looks very complete, at first s= ight, that's really wonderful!
I'm really looking forward to se= eing that integrated.

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

Guillaume

On Mon, Feb 19, 2018 at 12:16 AM, Joe Wolf= <joewolf@gmail.com> wrote:
I've finally gotten around to adding extension metho= ds to the=C2=A0Groovy JDK=C2=A0for the java.time = types. See=C2=A0https://issues.apache.org/jira/browse/GROOVY-8334= for reference.

<= /span>
I've generated a copy of the Groovy JDK apidocs with m= y current changes here:=C2=A0http://bdkosher.github.io/groov= y-3.0-alpha/groovy-jdk/=C2=A0

The additio= ns 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.Cale= ndar

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.

<= /div>
-Joe



--
Guillaume Laforge
Apache Groovy committer &am= p; PMC Vice-President
Developer Advocate @ Google Clo= ud Platform


--001a113a26649dc299056592779e--