The Ministry of Finance outlines Japanese Government Bond (JGBs) calculation conventions at the link below.