java - How to check given timestamp is weekend? -
can me complete function in java? thanks
// e.g. "20130218001203638" boolean isweekend(string date) { ... ... }
find post giving exact answer want.
calendar#get(day_of_week)
return values sunday, monday, ...
what can conditionally check calendar.saturday or calendar.sunday
.
Comments
Post a Comment