I'm wondering how you calculate the time taken for the current in a charged inductor to reduce to zero with the only current path being through a capacitor. I'm looking at this from the perspective of an unloaded boost converter where at the end of the switching phase, the inductor is charged up to a certain current with the only current path being through a diode (neglected in my question) and into a capacitor (without an extra load).
Obviously the capacitor voltage will increase as the current through it is positive (the integral of the current will be non zero and positive) but how do I calculate the time for current to hit zero given a peak current in an inductor and the value of both inductance and capacitance, ignoring circuit losses?