import quarter.rrule.QuarterRRule
import org.joda.time.LocalDate
class Sample(@Autowired private val quarterRRule: QuarterRRule) {
fun sample() {
val timestamp = this.quarterRRule.findTimeStampBy(LocalDate(2017, 1, 2))
println(timestamp) // 2017/01/01
}
}
atsushi130 / quarterrrule Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0