parse static method

DateTime parse(
  1. String value,
  2. String format
)

Implementation

static DateTime parse(String value, String format) {
  return new DateFormat(format).parse(value);
}