The Islamic calendar , Muslim calendar or Hijri calendar ( AH ) [1] [2] is a lunar calendar consistin o 12 months in a year o 354 or 355 days .