chineseYearEnd

chineseYearEnd(d : date) 🡒 number, pure function

Returns the last day of the Chinese Year associated to the date d.

show summary "" a1c2 with
  chineseYearEnd(date(2020, 1, 1)) as "of 2020-01-01"
  chineseYearEnd(date(2018, 5, 1)) as "of 2018-05-01"

See also