Example usage for org.joda.time ReadableDuration toPeriod

List of usage examples for org.joda.time ReadableDuration toPeriod

Introduction

In this page you can find the example usage for org.joda.time ReadableDuration toPeriod.

Prototype

Period toPeriod();

Source Link

Document

Converts this duration to a Period instance using the standard period type and the ISO chronology.

Usage

From source file:org.samcrow.ridgesurvey.TimerFragment.java

License:Open Source License

private void showTime(ReadableDuration period) {
    mTimeView.setText(mFormatter.print(period.toPeriod()));
}