Closed ddrone closed 10 years ago
I meant an extension function to MyDate (saying 'function MyDate.addTimeIntervals'). The file name might be added anyway if it's unclear.
As far as I understand, addTimeIntervals
is an extension function to MyDate
class, so the initial approach looks slightly more correct. @svtk, would you mind writing Use a utility function MyDate.addTimeIntervals (located in MyDateUtil.kt)
?
Function addTimeIntervals referred in comment is actually in MyDateUtil, not in MyDate.