List of usage examples for org.joda.time ReadableInstant get
int get(DateTimeFieldType type);
From source file:org.opencastproject.scheduler.impl.persistence.SchedulerServiceDatabaseImpl.java
License:Educational Community License
/** Create a Partial from an Instant extracting month and day. */ private Partial partialize(ReadableInstant instant) { return partial(instant.get(DateTimeFieldType.monthOfYear()), instant.get(DateTimeFieldType.dayOfMonth())); }