Код: Выделить всё
import org.joda.time.DateTime;
DateTime date;
return date.dayOfYear().isLeap()
Подробнее здесь: https://stackoverflow.com/questions/793 ... ear-isleap
Код: Выделить всё
import org.joda.time.DateTime;
DateTime date;
return date.dayOfYear().isLeap()