Dates

object Dates

Dates class.

class Object
trait Matchable
class Any
Dates.type

Value members

Concrete methods

def join(date: LocalDate, time: LocalTime): LocalDateTime
def normalize(str: String): String

normalize. change other formats to uniform one.

normalize. change other formats to uniform one.

YYYYMMDD => YYYY-MM-DD YYYY-M-D => YYYY-MM-DD YYYY.MM.dd =>YYYY-MM-DD

Value parameters:
dateStr

a String object.

Returns:

a String object.

def now: LocalDateTime
def toDate(cal: Calendar): LocalDate
def today: LocalDate