-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
show half hour marks on the left-hand column #193
base: develop
Are you sure you want to change the base?
Conversation
@@ -7,5 +7,5 @@ | |||
*/ | |||
public interface DateTimeInterpreter { | |||
String interpretDate(Calendar date); | |||
String interpretTime(int hour); | |||
String interpretTime(int hour, int minutes); |
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.
Should I create a new method with interpretTime(int hour, minutes) and leave the original interpretTime(int hour) to not break people?
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.
Yes, preferably.
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.
Hold on, that doesn't actually help. Just by adding the interpretTime(int hour, int minutes) to the interface will break an client implementing that interface. Only if we had a base class and people extended that, could we then add a method to the interface and not break consumer.
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.
Maybe have a "subinterface"?
Because a breaking change for this small behaviour change is maybe not what we want.
Rebased changes |
Can this be merged? |
This is still a breaking change, no? Because I'm not sure if I want to break the library for something small like this. |
hi, would be great if this pr can be merged i think this extension of the interface is a very small breaking change and can be easily fixed by anyone. |
Fine for me. @alamkanak Is it ok for you as well? @dgrant Can you rebase onto master again? |
2c65d3e
to
528565c
Compare
@caske33 Ok, I've rebased it on master. |
Can you squash those commits? Also, there still seems to be a merge conflict. Maybe try rebasing on develop? Thank you for your patience! 💯 |
Ok, finally cleaned everything up. Sorry for the delay. |
👍 |
showHalfHours not working , Need Help |
90c3663
to
67a8772
Compare
67a8772
to
06836e7
Compare
how to use timespacing. ? showHalfHours changes the left column to show time with half hour intervals . rest all working same i.e on hour basis. Need urgent help |
Here is the "show half hours change", now rebased on develop branch.