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
Description
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);
}