Advertisement
redribben

discription

May 29th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Gives out a list of the days based on the indexSet
  3.  * @author BM
  4.  *
  5.  * @param indexSet The indexSet that is being sent in to get the days (Week starts on Sunday which is index 1)
  6.  * @param numberOfLetters The format as to the desired outputs
  7.  
  8.  0 - List of days in numbers
  9.  
  10.  1 - List of days in first (maybe second) letter
  11.  
  12.  2 - List of days, two letter outputs
  13.  
  14.  3 - List of days, three letter outputs
  15.  
  16.  4 - List of days, full day names
  17.  
  18.  * @return A string of the days, seperated by a comma
  19.  */
  20. + (NSString*)listDaysFromIndexSet:(NSIndexSet*)indexSet
  21.                      outputFormat:(int)numberOfLetters;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement