bradymholt / cRonstrue

JavaScript library that translates Cron expressions into human readable descriptions
http://bradymholt.github.io/cRonstrue/
MIT License
1.3k stars 169 forks source link

Why only open toString() api #248

Closed yongchin0821 closed 2 years ago

yongchin0821 commented 2 years ago

I am very pleasantly surprised and happy to see this library ❤

I am using it on my work. It is necessary to get the minute, hour and day description separately

I find some functions like getTimeOfDayDescription()getSecondsDescription() but these are protected

Why are these APIs not open?

bradymholt commented 2 years ago

Hm, I don't recall offhand. I'm not sure I specifically didn't want them to be called but this has never been something requested.