Example usage for org.joda.time.base AbstractDateTime getDayOfMonth

List of usage examples for org.joda.time.base AbstractDateTime getDayOfMonth

Introduction

In this page you can find the example usage for org.joda.time.base AbstractDateTime getDayOfMonth.

Prototype

public int getDayOfMonth() 

Source Link

Document

Get the day of month field value.

Usage

From source file:com.foundationdb.server.types.mcompat.mtypes.MDateAndTime.java

License:Open Source License

public static long[] fromJodaDateTime(AbstractDateTime date) {
    return new long[] { date.getYear(), date.getMonthOfYear(), date.getDayOfMonth(), date.getHourOfDay(),
            date.getMinuteOfHour(), date.getSecondOfMinute() };
}