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

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

Introduction

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

Prototype

public int getSecondOfMinute() 

Source Link

Document

Get the second of minute 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() };
}