Guest User

Untitled

a guest
Dec 12th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. getPriceBetween(String start, String end, CRUDRepository crud, String type)
  2. {
  3. // i transform string in Date
  4. //
  5. switch(type)
  6. {
  7. case "typical" : tab= ((ClassDAO)crud).getPriceBetween(startDate,endDate);
  8. break;
  9. //
  10. //and it's the same
  11. //for all the
  12. //other cases
  13. //
  14. }
  15. return tab;
  16.  
  17. }
Add Comment
Please, Sign In to add comment