Example usage for org.joda.time LocalDateTime monthOfYear

List of usage examples for org.joda.time LocalDateTime monthOfYear

Introduction

In this page you can find the example usage for org.joda.time LocalDateTime monthOfYear.

Prototype

public Property monthOfYear() 

Source Link

Document

Get the month of year property which provides access to advanced functionality.

Usage

From source file:playground.johannes.gsv.synPop.invermo.Date2TimeTask.java

License:Open Source License

private void setPlanDate(LocalDateTime dateTime, ProxyPlan plan) {
    plan.setAttribute(MIDKeys.PERSON_MONTH, dateTime.monthOfYear().getAsShortText(Locale.US));
    plan.setAttribute(CommonKeys.DAY, dateTime.dayOfWeek().getAsShortText(Locale.US));
}