Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
414 views
in Technique[技术] by (71.8m points)

java - Date api for managing off days in an year?

I want to know the available api's for date in java in which the following functionality is implemented.

Calculating date from one date to N day skipping the mentioned off day(holidays).

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

ObjectLabs' DateCalc library offers holiday handling with multiple algorithms depending on what you want to do. It comes in two versions, a raw JDK version and a version built on top of Joda Time (which they recommend).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...