JVMCrossDate

final class JVMCrossDate(val calendar: Calendar) extends AnyVal with CrossDate
trait CrossDate
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

override def dayOfMonth: Int
Definition Classes
override def dayOfWeek: Int
Definition Classes
override def dayOfYear: Int
Definition Classes
override def hour24: Int
Definition Classes
override def isAM: Boolean
Definition Classes
override def milliOfSecond: Int
Definition Classes
override def milliseconds: Long
Definition Classes
override def minuteOfHour: Int
Definition Classes
override def month: Int
Definition Classes
override def secondOfMinute: Int
Definition Classes
override def timeZone: String
Definition Classes
override def timeZoneOffsetMillis: Int
Definition Classes
override def year: Int
Definition Classes

Inherited methods

def A: String

Locale-specific full name of the day of the week, e.g. "Sunday", "Monday"

Locale-specific full name of the day of the week, e.g. "Sunday", "Monday"

Inherited from
CrossDate
def B: String

Locale-specific full month name, e.g. "January", "February".

Locale-specific full month name, e.g. "January", "February".

Inherited from
CrossDate
def C: String

Four-digit year divided by 100, formatted as two digits with leading zero as necessary, i.e. 00 - 99

Four-digit year divided by 100, formatted as two digits with leading zero as necessary, i.e. 00 - 99

Inherited from
CrossDate
def D: String

Date formatted as "%tm/%td/%ty".

Date formatted as "%tm/%td/%ty".

Inherited from
CrossDate
def F: String

ISO 8601 complete date formatted as "%tY-%tm-%td".

ISO 8601 complete date formatted as "%tY-%tm-%td".

Inherited from
CrossDate
def H: String

Hour of the day for the 24-hour clock, formatted as two digits with a leading zero as necessary i.e. 00 - 23

Hour of the day for the 24-hour clock, formatted as two digits with a leading zero as necessary i.e. 00 - 23

Inherited from
CrossDate
def I: String

Hour for the 12-hour clock, formatted as two digits with a leading zero as necessary, i.e. 01 - 12.

Hour for the 12-hour clock, formatted as two digits with a leading zero as necessary, i.e. 01 - 12.

Inherited from
CrossDate
def L: String

Millisecond within the second formatted as three digits with leading zeros as necessary, i.e. 000 - 999.

Millisecond within the second formatted as three digits with leading zeros as necessary, i.e. 000 - 999.

Inherited from
CrossDate
def M: String

Minute within the hour formatted as two digits with a leading zero as necessary, i.e. 00 - 59.

Minute within the hour formatted as two digits with a leading zero as necessary, i.e. 00 - 59.

Inherited from
CrossDate
def P: String

Locale-specific morning or afternoon marker in upper case, e.g."AM" or "PM".

Locale-specific morning or afternoon marker in upper case, e.g."AM" or "PM".

Inherited from
CrossDate
def Q: String

A field containing the numeric value in String form corresponding to the current time - the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC, with leap seconds ignored. Roughly the point in time this date represents.

A field containing the numeric value in String form corresponding to the current time - the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC, with leap seconds ignored. Roughly the point in time this date represents.

Inherited from
CrossDate
def R: String

Time formatted for the 24-hour clock as "%tH:%tM"

Time formatted for the 24-hour clock as "%tH:%tM"

Inherited from
CrossDate
def S: String

Seconds within the minute, formatted as two digits with a leading zero as necessary, i.e. 00 - 60 ("60" is a special value required to support leap seconds).

Seconds within the minute, formatted as two digits with a leading zero as necessary, i.e. 00 - 60 ("60" is a special value required to support leap seconds).

Inherited from
CrossDate
def T: String

Time formatted for the 24-hour clock as "%tH:%tM:%tS".

Time formatted for the 24-hour clock as "%tH:%tM:%tS".

Inherited from
CrossDate
def Y: String

Year, formatted as at least four digits with leading zeros as necessary, e.g. 0092 equals 92 CE for the Gregorian calendar.

Year, formatted as at least four digits with leading zeros as necessary, e.g. 0092 equals 92 CE for the Gregorian calendar.

Inherited from
CrossDate
def Z: String

A string representing the abbreviation for the time zone. This value will be adjusted as necessary for Daylight Saving Time.

A string representing the abbreviation for the time zone. This value will be adjusted as necessary for Daylight Saving Time.

Inherited from
CrossDate
def a: String

Locale-specific short name of the day of the week, e.g. "Sun", "Mon"

Locale-specific short name of the day of the week, e.g. "Sun", "Mon"

Inherited from
CrossDate
def b: String

Locale-specific abbreviated month name, e.g. "Jan", "Feb".

Locale-specific abbreviated month name, e.g. "Jan", "Feb".

Inherited from
CrossDate
def c: String

Date and time formatted as "%ta %tb %td %tT %tZ %tY", e.g. "Sun Jul 20 16:17:00 EDT 1969".

Date and time formatted as "%ta %tb %td %tT %tZ %tY", e.g. "Sun Jul 20 16:17:00 EDT 1969".

Inherited from
CrossDate
def d: String

Day of month, formatted as two digits with leading zeros as necessary, i.e. 01 - 31

Day of month, formatted as two digits with leading zeros as necessary, i.e. 01 - 31

Inherited from
CrossDate
def e: String

Day of month, formatted as two digits, i.e. 1 - 31.

Day of month, formatted as two digits, i.e. 1 - 31.

Inherited from
CrossDate
def h: String

Same as 'b'.

Same as 'b'.

Inherited from
CrossDate
def hour12: Int

Evaluates to the standard 12-hour time format for the current date.

Evaluates to the standard 12-hour time format for the current date.

Inherited from
CrossDate
def isPM: Boolean

Evaluates to 'true' if 'hour24' is 12-24

Evaluates to 'true' if 'hour24' is 12-24

Inherited from
CrossDate
def j: String

Day of year, formatted as three digits with leading zeros as necessary, e.g. 001 - 366 for the Gregorian calendar.

Day of year, formatted as three digits with leading zeros as necessary, e.g. 001 - 366 for the Gregorian calendar.

Inherited from
CrossDate
def k: String

Hour of the day for the 24-hour clock, i.e. 0 - 23.

Hour of the day for the 24-hour clock, i.e. 0 - 23.

Inherited from
CrossDate
def l: String

Hour for the 12-hour clock, i.e. 1 - 12.

Hour for the 12-hour clock, i.e. 1 - 12.

Inherited from
CrossDate
def m: String

Month, formatted as two digits with leading zeros as necessary, i.e. 01 - 13.

Month, formatted as two digits with leading zeros as necessary, i.e. 01 - 13.

Inherited from
CrossDate
def p: String

Locale-specific morning or afternoon marker in lower case, e.g."am" or "pm".

Locale-specific morning or afternoon marker in lower case, e.g."am" or "pm".

Inherited from
CrossDate
def r: String

Time formatted for the 12-hour clock as "%tI:%tM:%tS %Tp". The location of the morning or afternoon marker ('%Tp') may be locale-dependent.

Time formatted for the 12-hour clock as "%tI:%tM:%tS %Tp". The location of the morning or afternoon marker ('%Tp') may be locale-dependent.

Inherited from
CrossDate
def s: String

A field containing the numeric value in String form corresponding to the current time - the number of seconds elapsed since January 1, 1970 00:00:00 UTC, with leap seconds ignored. Roughly the point in time this date represents.

A field containing the numeric value in String form corresponding to the current time - the number of seconds elapsed since January 1, 1970 00:00:00 UTC, with leap seconds ignored. Roughly the point in time this date represents.

Inherited from
CrossDate
def secondsOfEpoch: Long

A field containing the numeric value corresponding to the current time - the number of seconds elapsed

A field containing the numeric value corresponding to the current time - the number of seconds elapsed

  • since January 1, 1970 00:00:00 UTC, with leap seconds ignored. Roughly the point in time this date represents.
Inherited from
CrossDate

Evaluates to the time difference between UTC time and local time, in hours.

Evaluates to the time difference between UTC time and local time, in hours.

Inherited from
CrossDate

Evaluates to the time difference between UTC time and local time, in minutes.

Evaluates to the time difference between UTC time and local time, in minutes.

Inherited from
CrossDate
def y: String

Last two digits of the year, formatted with leading zeros as necessary, i.e. 00 - 99.

Last two digits of the year, formatted with leading zeros as necessary, i.e. 00 - 99.

Inherited from
CrossDate
def z: String

RFC 822 style numeric time zone offset from GMT, e.g. -0800. This value will be adjusted as necessary for Daylight Saving Time.

RFC 822 style numeric time zone offset from GMT, e.g. -0800. This value will be adjusted as necessary for Daylight Saving Time.

Inherited from
CrossDate

Concrete fields

val calendar: Calendar