WARNING: This page is about a different car, the 2005 Nissan Sentra. However, it is still accessible from the selected car via links, so may be relevant.
These self-diagnoses have the one trip detection logic.
Fig 1: DTC P0122, P0123: On Board Diagnosis Logic Chart