GVDateUtils

From GreenVulcano Wiki
Jump to: navigation, search

Description

GVDateUtils element defines standard Locale, TimeZone and holydays for it.greenvulcano.util.txt.DateUtils utility class.

GreenVulcano® ESB Configuration

The following table shows the GVDateUtils element's attributes:

Attribute Type Description
type fixed This attribute must assume the value module
name fixed This attribute must assume the value DATE_UTILS


Might contain the sub-elements:

Locale

The Locale Element is used by: GVDateUtils. The following table shows its attributes:

Attribute Type Description
lang required The attribute's value cannot be null.
country required The attribute's value cannot be null.
timezone required The attribute's value cannot be null.

Might contain the sub-elements:

DayLightSaving

The DayLightSaving Element is used by: Locale. The following table shows its attributes:

Attribute Type Description
startMonth required The attribute's value can't be null.
startDay required The attribute's value can't be null.
startDayOfWeek required The attribute's value can't be null.
startTime required The attribute's value can't be null.
endMonth required The attribute's value can't be null.
endDay required The attribute's value can't be null.
endDayOfWeek required The attribute's value can't be null.
endTime required The attribute's value can't be null.

Might contain the sub-element Description.

Holidays

The Holidays Element is used by: GVDateUtils. The following table shows its attributes:

Attribute Type Description
have-easter-day required The attribute's admitted values are:
  • true
  • false

The attribute's value can't be null.

Might contain the sub-elements:

Holiday

The Holiday Element is used by: Holidays. The following table shows its attributes:

Attribute Type Description
month required The attribute's value can't be null.
day required The attribute's value can't be null.

Might contain the sub-element Description.