Package | Description |
---|---|
org.openmrs.util |
Shared utilities for OpenMRS classes
|
org.openmrs.web |
Modifier and Type | Method and Description |
---|---|
static Format.FORMAT_TYPE |
Format.FORMAT_TYPE.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Format.FORMAT_TYPE[] |
Format.FORMAT_TYPE.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
Format.format(Date date,
Format.FORMAT_TYPE type) |
static String |
Format.format(Date date,
Locale locale,
Format.FORMAT_TYPE type)
This method formats a date object according to a particular locale and returns the date as a string.
|
Modifier and Type | Method and Description |
---|---|
static String |
WebUtil.formatDate(Date date,
Locale locale,
Format.FORMAT_TYPE type) |
Copyright © 2021 OpenMRS Inc.. All rights reserved.