132
|
1 /*******************************************************************************
|
|
2
|
|
3 copyright: Copyright (c) 2005 John Chapman. All rights reserved
|
|
4
|
|
5 license: BSD style: $(LICENSE)
|
|
6
|
|
7 version: Mid 2005: Initial release
|
|
8 Apr 2007: reshaped
|
|
9
|
|
10 author: John Chapman, Kris
|
|
11
|
|
12 ******************************************************************************/
|
|
13
|
|
14 module tango.time.chrono.ThaiBuddhist;
|
|
15
|
|
16 private import tango.time.chrono.GregorianBased;
|
|
17
|
|
18
|
|
19 /**
|
|
20 * $(ANCHOR _ThaiBuddhist)
|
|
21 * Represents the Thai Buddhist calendar.
|
|
22 */
|
|
23 public class ThaiBuddhist : GregorianBased {
|
|
24 /**
|
|
25 * $(I Property.) Overridden. Retrieves the identifier associated with the current calendar.
|
|
26 * Returns: An integer representing the identifier of the current calendar.
|
|
27 */
|
|
28 public override uint id() {
|
|
29 return THAI;
|
|
30 }
|
|
31
|
|
32 }
|