| Package | Description |
|---|---|
| com.force.i18n |
| Modifier and Type | Field and Description |
|---|---|
static BaseLocalizer.LocalOrGmt |
BaseLocalizer.GMT |
static BaseLocalizer.LocalOrGmt |
BaseLocalizer.LOCAL |
| Modifier and Type | Method and Description |
|---|---|
static BaseLocalizer.LocalOrGmt |
BaseLocalizer.LocalOrGmt.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseLocalizer.LocalOrGmt[] |
BaseLocalizer.LocalOrGmt.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
BaseLocalizer.formatDate(Date date,
BaseLocalizer.LocalOrGmt tz)
Formats a date-only Date.
|
Calendar |
BaseLocalizer.getCalendar(BaseLocalizer.LocalOrGmt tz) |
DateFormat |
BaseLocalizer.getDateFormat(BaseLocalizer.LocalOrGmt tz)
Get date-only DateFormat for output.
|
DateFormat |
BaseLocalizer.getInputDateFormat(BaseLocalizer.LocalOrGmt tz)
Get date-only DateFormat for input.
|
Date |
BaseLocalizer.parseDate(String input,
BaseLocalizer.LocalOrGmt tz)
Parses a date-only input string.
|
Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.