Example usage for java.time MonthDay parse

List of usage examples for java.time MonthDay parse

Introduction

In this page you can find the example usage for java.time MonthDay parse.

Prototype

public static MonthDay parse(CharSequence text) 

Source Link

Document

Obtains an instance of MonthDay from a text string such as --12-03 .

Usage

From source file:Main.java

public static void main(String[] args) {
    MonthDay m = MonthDay.parse("--12-03");

    System.out.println(m);

}