예제 #1
0
def sortedList(setdata):
    l = list(setdata)
    l.sort(cmp=lambda x, y: DateTime.sort(x[0], y[0]))
    return l
예제 #2
0
def getExpandedDates(cal, start, end):

    vtz = cal.getComponents()[0]
    expanded = vtz.expandAll(start, end)
    expanded.sort(cmp=lambda x, y: DateTime.sort(x[0], y[0]))
    return expanded
예제 #3
0
def sortedList(setdata):
    l = list(setdata)
    l.sort(cmp=lambda x, y: DateTime.sort(x[0], y[0]))
    return l
예제 #4
0
def getExpandedDates(cal, start, end):

    vtz = cal.getComponents()[0]
    expanded = vtz.expandAll(start, end)
    expanded.sort(cmp=lambda x, y: DateTime.sort(x[0], y[0]))
    return expanded