Example usage for org.apache.commons.lang3.time Period valueOf

List of usage examples for org.apache.commons.lang3.time Period valueOf

Introduction

In this page you can find the example usage for org.apache.commons.lang3.time Period valueOf.

Prototype

public static Period valueOf(CharSequence s) 

Source Link

Document

Can "reverse" the #toString() back into a Period

Usage

From source file:org.springframework.format.datetime.StringToPeriodConverter.java

@Override
public Period convert(String source) {
    return Period.valueOf(source);
}