Non-repetetive peak forward current for a diode is quoted on datasheets for a square pulse of particular current and time. How should you treat other waveshapes, such as a reverse sawtooth (fast rise, slow decay) such as you get through a blocking diode to charge a capacitor via a resistor from a source with a fast rise time?