This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > java.time.format.DateTimeFormatter

java.time.format.DateTimeFormatter

class java.time.format.DateTimeFormatter extends java.lang.Object

Method Inventory

Parameters

parameter BASICuISOuDATE = ParseCaseSensitive(false)Value(Year,4)Value(MonthOfYear,2)Value(DayOfMonth,2)[Offset(+HHMMss,'Z')];
parameter IMPORTTIMESTAMP = 1969-12-31 16:00:00.0;
parameter ISOuDATE = ParseCaseSensitive(false)(Value(Year,4,10,EXCEEDS_PAD)'-'Value(MonthOfYear,2)'-'Value(DayOfMonth,2))[Offset(+HH:MM:ss,'Z')];
parameter ISOuDATEuTIME = (ParseCaseSensitive(false)(Value(Year,4,10,EXCEEDS_PAD)'-'Value(MonthOfYear,2)'-'Value(DayOfMonth,2))'T'(Value(HourOfDay,2)':'Value(MinuteOfHour,2)[':'Value(SecondOfMinute,2)[Fraction(NanoOfSecond,0,9,DecimalPoint)]]))[Offset(+HH:MM:ss,'Z')['['ParseCaseSensitive(true)ZoneRegionId()']']];
parameter ISOuINSTANT = ParseCaseSensitive(false)Instant();
parameter ISOuLOCALuDATE = Value(Year,4,10,EXCEEDS_PAD)'-'Value(MonthOfYear,2)'-'Value(DayOfMonth,2);
parameter ISOuLOCALuDATEuTIME = ParseCaseSensitive(false)(Value(Year,4,10,EXCEEDS_PAD)'-'Value(MonthOfYear,2)'-'Value(DayOfMonth,2))'T'(Value(HourOfDay,2)':'Value(MinuteOfHour,2)[':'Value(SecondOfMinute,2)[Fraction(NanoOfSecond,0,9,DecimalPoint)]]);
parameter ISOuLOCALuTIME = Value(HourOfDay,2)':'Value(MinuteOfHour,2)[':'Value(SecondOfMinute,2)[Fraction(NanoOfSecond,0,9,DecimalPoint)]];
parameter ISOuOFFSETuDATE = ParseCaseSensitive(false)(Value(Year,4,10,EXCEEDS_PAD)'-'Value(MonthOfYear,2)'-'Value(DayOfMonth,2))Offset(+HH:MM:ss,'Z');
parameter ISOuOFFSETuDATEuTIME = ParseCaseSensitive(false)(ParseCaseSensitive(false)(Value(Year,4,10,EXCEEDS_PAD)'-'Value(MonthOfYear,2)'-'Value(DayOfMonth,2))'T'(Value(HourOfDay,2)':'Value(MinuteOfHour,2)[':'Value(SecondOfMinute,2)[Fraction(NanoOfSecond,0,9,DecimalPoint)]]))Offset(+HH:MM:ss,'Z');
parameter ISOuOFFSETuTIME = ParseCaseSensitive(false)(Value(HourOfDay,2)':'Value(MinuteOfHour,2)[':'Value(SecondOfMinute,2)[Fraction(NanoOfSecond,0,9,DecimalPoint)]])Offset(+HH:MM:ss,'Z');
parameter ISOuORDINALuDATE = ParseCaseSensitive(false)Value(Year,4,10,EXCEEDS_PAD)'-'Value(DayOfYear,3)[Offset(+HH:MM:ss,'Z')];
parameter ISOuTIME = ParseCaseSensitive(false)(Value(HourOfDay,2)':'Value(MinuteOfHour,2)[':'Value(SecondOfMinute,2)[Fraction(NanoOfSecond,0,9,DecimalPoint)]])[Offset(+HH:MM:ss,'Z')];
parameter ISOuWEEKuDATE = ParseCaseSensitive(false)Value(WeekBasedYear,4,10,EXCEEDS_PAD)'-W'Value(WeekOfWeekBasedYear,2)'-'Value(DayOfWeek,1)[Offset(+HH:MM:ss,'Z')];
parameter ISOuZONEDuDATEuTIME = (ParseCaseSensitive(false)(ParseCaseSensitive(false)(Value(Year,4,10,EXCEEDS_PAD)'-'Value(MonthOfYear,2)'-'Value(DayOfMonth,2))'T'(Value(HourOfDay,2)':'Value(MinuteOfHour,2)[':'Value(SecondOfMinute,2)[Fraction(NanoOfSecond,0,9,DecimalPoint)]]))Offset(+HH:MM:ss,'Z'))['['ParseCaseSensitive(true)ZoneRegionId()']'];
parameter RFCu1123uDATEuTIME = ParseCaseSensitive(false)ParseStrict(false)[Text(DayOfWeek)', ']Value(DayOfMonth,1,2,NOT_NEGATIVE)' 'Text(MonthOfYear)' 'Value(Year,4)' 'Value(HourOfDay,2)':'Value(MinuteOfHour,2)[':'Value(SecondOfMinute,2)]' 'Offset(+HHMM,'GMT');

Methods

method format(ByRef p0 As %ObjectHandle) as %ObjectHandle
method formatTo(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle)
method getChronology() as %ObjectHandle
method getDecimalStyle() as %ObjectHandle
method getLocale() as %ObjectHandle
method getResolverFields() as %ObjectHandle
method getResolverStyle() as %ObjectHandle
method getZone() as %ObjectHandle
classmethod ofLocalizedDate(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
classmethod ofLocalizedDateTime(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle) as %ObjectHandle
classmethod ofLocalizedTime(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
classmethod ofPattern(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle, ByRef p2 As %ObjectHandle) as %ObjectHandle
method parse(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
method parseBest(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
method parseUnresolved(ByRef p0 As %ObjectHandle, ByRef p1 As %ObjectHandle) as %ObjectHandle
classmethod parsedExcessDays(ByRef p0 As %ObjectHandle) as %ObjectHandle
classmethod parsedLeapSecond(ByRef p0 As %ObjectHandle) as %ObjectHandle
method toFormat(ByRef p0 As %ObjectHandle) as %ObjectHandle
method toString() as %ObjectHandle
method withChronology(ByRef p0 As %ObjectHandle) as %ObjectHandle
method withDecimalStyle(ByRef p0 As %ObjectHandle) as %ObjectHandle
method withLocale(ByRef p0 As %ObjectHandle) as %ObjectHandle
method withResolverFields(ByRef p0 As %ObjectHandle) as %ObjectHandle
method withResolverStyle(ByRef p0 As %ObjectHandle) as %ObjectHandle
method withZone(ByRef p0 As %ObjectHandle) as %ObjectHandle

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new window