Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1A3B2200B28 for ; Sun, 12 Jun 2016 05:26:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 14CD3160A54; Sun, 12 Jun 2016 03:26:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5AFF7160A34 for ; Sun, 12 Jun 2016 05:26:24 +0200 (CEST) Received: (qmail 84088 invoked by uid 500); 12 Jun 2016 03:26:23 -0000 Mailing-List: contact dev-help@zest.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zest.apache.org Delivered-To: mailing list dev@zest.apache.org Received: (qmail 84075 invoked by uid 99); 12 Jun 2016 03:26:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jun 2016 03:26:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 23D96C1834 for ; Sun, 12 Jun 2016 03:26:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id AlGBAb2vm9-v for ; Sun, 12 Jun 2016 03:26:19 +0000 (UTC) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 261385F307 for ; Sun, 12 Jun 2016 03:26:19 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id p204so165024463oih.3 for ; Sat, 11 Jun 2016 20:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=wnl5WagyX/sX30ujpoFDmT+/EbYPo2LL19pmWedlKcA=; b=xAd8m+GdT+OhzGTHrFtc9FRQU6tIj2JX+ugsPNUzBseJf8ztyhDA5fAnkwZRxXtpX4 5FIAZ9fDezXej2h6/H8I7ZX1oHNEKHwhGzaMQFf+KBBJ0rxGGSXW+LXE+NC16ew7iujP wpmMHiY/6p5sSCZoTnpk1TR9rPEloakdH2gQ3VaNEaJlKbKO5PfexiAZGWQIK/838DPx BYsH9Pug7x4RycA13lR78qFzrHi9IdnPe8fzef4vw/0HrqHuK8tEQnvKjZQUqIBUOp1j Cjq51EToV7HTtzt0pVJC9kpB4Vwnn4Z/zI9CqYxenoj8DOyAqMZSy8KekRJEnu4QLsyk oPRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=wnl5WagyX/sX30ujpoFDmT+/EbYPo2LL19pmWedlKcA=; b=j9aygqfEJsFKk0wGR5QjqxXfVdzH+zVo1/uinjQW9ZxJSYyvdZ0cUKBzltLcPhQV2K ymb2RVj5ApohcSYomc9/5fzzeNOxzGPf3U9XTXig30VKZT7FwnY8u1uXuqHisy1olLAE ts1hG8NrFOpV4O0OZCfIGF0WEhVTDzdVttu5cEPEbW1JO022+CEVrYDJiS7X64HHDuzk itx8xjeQSwA1IgEUgJQugHgzdSaMvtpb6ulYGQA0TzxpPYfpd1wJTSBFC56BdHe6Jyke WmZE1Dad/U8+TCM09ayodiKiKU8HDZnVo6ASE52zIKv4IOivFHnWeAitj53JWqwsceSP qIXg== X-Gm-Message-State: ALyK8tIEJaxYchw7GMU6GKL2rpuokVacnU2aBtxl/1+xYRW/0VnHWJprs3sYJ+VxaycqRCjsHWx1W6fpkQi1vQ== X-Received: by 10.157.24.51 with SMTP id b48mr4361885ote.190.1465701978024; Sat, 11 Jun 2016 20:26:18 -0700 (PDT) MIME-Version: 1.0 Sender: hedhman@gmail.com Received: by 10.202.235.19 with HTTP; Sat, 11 Jun 2016 20:25:58 -0700 (PDT) In-Reply-To: References: From: Niclas Hedhman Date: Sun, 12 Jun 2016 11:25:58 +0800 X-Google-Sender-Auth: EzZDm-KtiEKzPry8Y-3dDfwFASM Message-ID: Subject: Re: [Proposal] Stricter Date/Time support To: dev Content-Type: multipart/alternative; boundary=001a113e1e7ebf32f305350c5537 archived-at: Sun, 12 Jun 2016 03:26:25 -0000 --001a113e1e7ebf32f305350c5537 Content-Type: text/plain; charset=UTF-8 On my local system, this is almost complete (working on fixing testcases)... BUT, since use of java.util.Date and Joda Time classes in Zest State will be serialized, I am thinking of adding a check (can be disabled by system property), that prohibits these types as Zest Property type. Cheers Niclas On Sat, Jun 11, 2016 at 3:36 PM, Niclas Hedhman wrote: > Hi, > > I am working on https://issues.apache.org/jira/browse/ZEST-124 which is > about replacing Joda time with Java Time API. > > I want to propose to kill both Joda Time and java.util.Date support from > Zest, and require Java Time API only. My rationale is that we should make > it difficult to use the wrong thing. > > WDYT? > > Cheers > -- > Niclas Hedhman, Software Developer > http://zest.apache.org - New Energy for Java > -- Niclas Hedhman, Software Developer http://zest.apache.org - New Energy for Java --001a113e1e7ebf32f305350c5537--