The name of the era such as Showa or Heisei is for the reign of the emperor in Japan. We never know when the emperor dies, and 1989 was Showa 64 until Emperor Hirohito's death was announced. Soon after, it was announced that the new era with the current Emperor Akihito would be called Heisei.