I tried to make a custom holiday calendar for the Korean Stock Exchange. And I found that the built-in "ChineseLunar" calendar system gives me an awkward result.
The code is
DateList /@ DayRange[{2012, 1, 1}, {2014, 3, 1}, "Holiday", HolidayCalendar -> {"ChineseLunar" -> {{True &, (#1 == 1) &, (#1 == 1) &}}}]
And the result is
{{2012, 1, 23, 0, 0, 0.}, {2014, 1, 31, 0, 0, 0.}}
Where is the date for 2013?
And what surprised me is
DateList /@ DayRange[{2012, 1, 1}, {2014, 3, 1}, "Holiday", HolidayCalendar -> {"ChineseLunar" -> {{True &, (#1 == 1) &, (#1 == 1||#1 == 2) &}}}]
gives me
{{2012, 1, 23, 0, 0, 0.}, {2012, 1, 24, 0, 0, 0.}, {2013, 2, 11, 0, 0, 0.}, {2014, 1, 31, 0, 0, 0.}}
I supposed it should return two dates for each year.
I appreciate any help.
Thanks in advance.