AddJapaneseEra Method (JapaneseEraHelper)
In This Topic
Adds era to the Japanese calendar.
Syntax
'Declaration
Public Shared Sub AddJapaneseEra( _
ByVal As Integer, _
ByVal As Date, _
ByVal As Date, _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As String _
)
public static void AddJapaneseEra(
int ,
DateTime ,
DateTime ,
string ,
string ,
string ,
string
)
Parameters
- era
- Era numeric id. Must be non-negative integer
- startTime
- Start day of the era.
- endTime
- End day of the era.
- eraName
- Japanese name of the era.
- abbreviatedEraName
- Short Japanese name of the era.
- englishEraName
- Era name in English. Optional.
- symbolEraName
- One Latin symbol era name.
Exceptions
Exception | Description |
System.ArgumentOutOfRangeException | The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. |
See Also