Skip to content

LocalDate.LocalDateTime vs LocalDate.Midnight - naming suggestion #56

Description

@GoogleCodeExporter
Not really a feature request, just wonder if this property would be better 
named 'Midnight' since (i) that's what it actually returns, as explained by the 
comment on it and (ii) LocalTime has a corresponding static property called 
'Midnight' that gets midnight time and (iii) In the future you might want to 
add a matching '.Noon' property.


        /// <summary>
        /// Gets a <see cref="LocalDateTime" /> at midnight on the date represented by this local date, in the same calendar system.
        /// </summary>
        public LocalDateTime LocalDateTime { get { return localTime; } }

Original issue reported on code.google.com by HighTech...@gmail.com on 18 Apr 2012 at 6:18

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions