-
Notifications
You must be signed in to change notification settings - Fork 1.2k
added DateFormat constants with xmldocs #2544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple of comments, LGTM otherwise.
@@ -0,0 +1,162 @@ | |||
namespace Nest.CommonOptions.DateFormat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
namespace should be "Nest"
public static class DateFormat | ||
{ | ||
///<summary>A formatter for the number of milliseconds since the epoch. Note, that this timestamp is subject to the limits of a Java Long.MIN_VALUE and Long.MAX_VALUE.</summary> | ||
public const string epoch_millis = "epoch_mills"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strong opinions about using the original names v.s. idiomatic .NET Pascal casing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kinda :) EpochMillis(seconds)
not that bad but turning strict_t_time
into StrictTTIme
:/ their is litttle guessing or ambiguity in keeping the casing which is a big plus over dogmatic casing, What do you guys reckon?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm cool with using the original names.
Conflicts: src/Nest/Nest.csproj
backported to |
fix for #2493