DateTime

@native @JSImport("luxon", "DateTime") @JSType
object DateTime extends Object
Companion
class
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def fromFormat(arg: String, format: String, options: UndefOr[DateTimeOptions]): DateTime
def fromFormatExplain(arg: String, format: String, options: UndefOr[DateTimeOptions]): Object
def fromHTTP(arg: String): DateTime
def fromISO(arg: String, options: UndefOr[FromISOOptions]): DateTime
def fromInvalid(reason: String, explanation: String): DateTime
def fromJSDate(dt: Date, options: UndefOr[DateTimeOptions]): DateTime
def fromMillis(arg: Double): DateTime
def fromRFC2822(text: String, options: UndefOr[DateTimeOptions]): DateTime
def fromSQL(text: String, options: UndefOr[SQLOptions]): DateTime
def fromSeconds(arg: Double, options: UndefOr[DateTimeOptions]): DateTime
def isDateTime(o: Any): Boolean
def local(year: UndefOr[Int], month: UndefOr[Int], day: UndefOr[Int], hour: UndefOr[Int], min: UndefOr[Int], second: UndefOr[Int], millisecond: UndefOr[Int]): DateTime
def max(values: DateTime*): DateTime
def min(values: DateTime*): DateTime
def utc(): DateTime
@JSName("utc")
def utcFrom(year: UndefOr[Int], month: UndefOr[Int], day: UndefOr[Int], hour: UndefOr[Int], minute: UndefOr[Int], second: UndefOr[Int], millisecond: UndefOr[Int]): DateTime

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object