xiazcy commented on code in PR #3090:
URL: https://github.com/apache/tinkerpop/pull/3090#discussion_r2034364247


##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/util/DatetimeHelper.java:
##########
@@ -93,45 +97,41 @@ public static String format(final Instant d) {
      * </ul>>
      *
      */
-    public static Date parse(final String d) {
+    public static OffsetDateTime parse(final String d) {

Review Comment:
   Not quite, dates without time or time without dates cannot be transformed 
into `OffsetDateTime`, so we'll still need the manual parsing. But you have a 
point that I can combine the last two cases. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to