Example usage for java.time.chrono ThaiBuddhistDate now

List of usage examples for java.time.chrono ThaiBuddhistDate now

Introduction

In this page you can find the example usage for java.time.chrono ThaiBuddhistDate now.

Prototype

public static ThaiBuddhistDate now() 

Source Link

Document

Obtains the current ThaiBuddhistDate from the system clock in the default time-zone.

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);
}