()
| 211 | * @return calendar date representing today |
| 212 | */ |
| 213 | public PlainDate today() { |
| 214 | |
| 215 | final UnixTime ut = this.timeSource.currentTime(); |
| 216 | Timezone tz = (this.timezone == null) ? Timezone.ofSystem() : this.timezone; |
| 217 | return PlainDate.from(ut, tz.getOffset(ut)); |
| 218 | |
| 219 | } |
| 220 | |
| 221 | /** |
| 222 | * <p>Gets the current timestamp in the associated timezone. </p> |