Skip to content
This repository was archived by the owner on Aug 5, 2019. It is now read-only.
This repository was archived by the owner on Aug 5, 2019. It is now read-only.

Fix setStartDate_ underscore character #418

Open
@twistedpair

Description

@twistedpair

Curious why the HasStartDate and HasEndDate interfaces were implemented with an _ (underscore) character in the names to differentiate the String setter from the Date setter method.

Since we're in Java, can we just overload this method rather than using names that don't conform with Java method naming standards?

Just curious since I'll gladly send in the correctling Pull Request, but wanted to ensure this was not for some JSO Overlay kung fu. In that case, I'd suggest setStartDateFromString. Thanks.

public interface HasStartDate {

    /**
     * Set the min date in the component.
     * @param date: the date format when the calendar will start
     */
    void setStartDate(String date);

    /**
     * Set the min date in the component.
     * @param date: the date format when the calendar will start
     */
    void setStartDate_(Date date);


}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions