The weighting method is described in
Upcoming article describing methods to reduce bias due to chronic exposure with and without switching:
Kubota K, Kelly TL. Bias due to within-subject exposure dependency with or without bias due to lack of pairwise exchangeability when exposure is chronic in case-crossover and case-time-control studies: A simulation study. Am J. Epidem., in press.