Uses of Enum Class
net.time4j.format.OutputContext
Packages that use OutputContext
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.Support for various regional calendars.
Support for the French revolutionary calendar.
Support for the traditional Hindu calendar family.
Defines common interfaces for any format support of Time4J.
-
Uses of OutputContext in net.time4j
Methods in net.time4j with parameters of type OutputContextModifier and TypeMethodDescriptionDayPeriod.approximate(TextWidth width, OutputContext outputContext)
Represents a flexible day period (in the afternoon, at night etc).DayPeriod.fixed(TextWidth width, OutputContext outputContext)
Represents a fixed day period (am / pm / midnight / noon).Meridiem.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters.Month.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters.Quarter.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters.Weekday.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters.static Meridiem
Meridiem.parse(CharSequence text, Locale locale, TextWidth width, OutputContext context)
Tries to interprete given text as AM/PM.static Month
Month.parse(CharSequence text, Locale locale, TextWidth width, OutputContext context)
Tries to interprete given text as month.static Quarter
Quarter.parse(CharSequence text, Locale locale, TextWidth width, OutputContext context)
Tries to interprete given text as quarter of year.static Weekday
Weekday.parse(CharSequence text, Locale locale, TextWidth width, OutputContext context)
Tries to interprete given text as day-of-week. -
Uses of OutputContext in net.time4j.calendar
Methods in net.time4j.calendar with parameters of type OutputContextModifier and TypeMethodDescriptionCopticMonth.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters.EthiopianMonth.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters.HebrewMonth.getDisplayName(Locale locale, TextWidth width, OutputContext context, boolean leapYear)
Gets the description text dependent on the locale and style parameters.HijriMonth.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters.IndianMonth.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters.PersianMonth.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters. -
Uses of OutputContext in net.time4j.calendar.frenchrev
Methods in net.time4j.calendar.frenchrev with parameters of type OutputContextModifier and TypeMethodDescriptionDayOfDecade.getDisplayName(Locale locale, TextWidth width, OutputContext oc)
Gets the description text dependent on the locale.FrenchRepublicanMonth.getDisplayName(Locale locale, TextWidth width, OutputContext oc)
Gets the description text dependent on the locale.Sansculottides.getDisplayName(Locale locale, OutputContext oc)
Gets the description text dependent on the locale. -
Uses of OutputContext in net.time4j.calendar.hindu
Methods in net.time4j.calendar.hindu with parameters of type OutputContextModifier and TypeMethodDescriptionHinduMonth.getDisplayName(Locale locale, TextWidth width, OutputContext context)
Gets the description text dependent on the locale and style parameters. -
Uses of OutputContext in net.time4j.format
Fields in net.time4j.format with type parameters of type OutputContextModifier and TypeFieldDescriptionstatic AttributeKey<OutputContext>
Attributes.OUTPUT_CONTEXT
Determines the output context to be used in formatting and parsing.Methods in net.time4j.format that return OutputContextModifier and TypeMethodDescriptionstatic OutputContext
Returns the enum constant of this class with the specified name.static OutputContext[]
OutputContext.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.time4j.format with parameters of type OutputContextModifier and TypeMethodDescriptionCalendarText.getLeapMonths(TextWidth textWidth, OutputContext outputContext)
Yields anAccessor
for all months if a leap month is relevant.CalendarText.getMeridiems(TextWidth textWidth, OutputContext outputContext)
Yields anAccessor
for all am/pm-names.CalendarText.getQuarters(TextWidth textWidth, OutputContext outputContext)
Yields anAccessor
for all quarter years.CalendarText.getStdMonths(TextWidth textWidth, OutputContext outputContext)
Yields anAccessor
for all standard months.CalendarText.getWeekdays(TextWidth textWidth, OutputContext outputContext)
Yields anAccessor
for all weekday names.String[]
TextProvider.meridiems(String calendarType, Locale locale, TextWidth textWidth, OutputContext outputContext)
String[]
TextProvider.months(String calendarType, Locale locale, TextWidth textWidth, OutputContext outputContext, boolean leapForm)
String[]
TextProvider.quarters(String calendarType, Locale locale, TextWidth textWidth, OutputContext outputContext)
String[]
TextProvider.weekdays(String calendarType, Locale locale, TextWidth textWidth, OutputContext outputContext)