Github user mfranklin commented on a diff in the pull request:

    https://github.com/apache/incubator-streams/pull/4#discussion_r12044231
  
    --- Diff: 
streams-pojo/src/main/java/org/apache/streams/data/util/RFC3339Utils.java ---
    @@ -86,6 +150,30 @@ public static String format(DateTime toFormat, TimeZone 
tz) {
             return 
LOCAL_SUB_SECOND_FMT.withZone(DateTimeZone.forTimeZone(tz)).print(toFormat.getMillis());
         }
     
    +    /**
    +     * Parses arbitrarily formatted Strings representing dates or dates 
and times to a {@link org.joda.time.DateTime}
    +     * objects.  It first attempts parse with international standards, 
assuming the dates are either dd MM yyyy or
    +     * yyyy MM dd.  If that fails it will try American formats where the 
month precedes the days of the month.
    +     * @param dateString abitrarily formatted date or date and time string
    +     * @return {@link org.joda.time.DateTime} representation of the 
dateString
    +     */
    +    public static DateTime parseToDateTime(String dateString) {
    --- End diff --
    
    shouldn't this be parseUTC, as the formatters all specify UTC format?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to