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.Japanese;
|
|
15
|
|
16 private import tango.time.chrono.GregorianBased;
|
|
17
|
|
18
|
|
19 /**
|
|
20 * $(ANCHOR _Japanese)
|
|
21 * Represents the Japanese calendar.
|
|
22 */
|
|
23 public class Japanese : GregorianBased
|
|
24 {
|
|
25 /**
|
|
26 * $(I Property.) Overridden. Retrieves the identifier associated with the current calendar.
|
|
27 * Returns: An integer representing the identifier of the current calendar.
|
|
28 */
|
|
29 public override uint id() {
|
|
30 return JAPAN;
|
|
31 }
|
|
32
|
|
33 }
|