That just sounds like lazy programming becoming a feature for the chief revenue officer ;)
Call call = new Call(timestamp);
String hour = call.getHour();
if (hour < 19 hour && hour > 6) call.setRate("Premium"); //military time
Call call = new Call(timestamp);
String hour = call.getHour();
if (hour < 19 hour && hour > 6) call.setRate("Premium"); //military time
No comments yet.