Example usage for java.time.chrono ThaiBuddhistChronology dateNow

List of usage examples for java.time.chrono ThaiBuddhistChronology dateNow

Introduction

In this page you can find the example usage for java.time.chrono ThaiBuddhistChronology dateNow.

Prototype

@Override
    public ThaiBuddhistDate dateNow() 

Source Link

Usage

From source file:Main.java

public static void main(String[] args) {
    ThaiBuddhistChronology thaiBuddhistChrono = ThaiBuddhistChronology.INSTANCE;
    ThaiBuddhistDate now = thaiBuddhistChrono.dateNow();
    ThaiBuddhistDate now2 = ThaiBuddhistDate.now();
    System.out.println("Current Date  in Thai  Buddhist: " + now);
    System.out.println("Current Date  in Thai  Buddhist: " + now2);
}