Uses of Class
net.time4j.engine.StartOfDay
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 traditional Hindu calendar family.
Defines the common generic schemes and interfaces of chronological
systems.
Defines common interfaces for any format support of Time4J.
This package contains the expert-level format- and parse engine of Time4J.
-
Uses of StartOfDay in net.time4j
Modifier and TypeMethodDescriptionGeneralTimestamp.at(ZonalOffset offset, StartOfDay startOfDay)
Combines this general timestamp with given timezone offset to a global UTC-moment.GeneralTimestamp.in(Timezone tz, StartOfDay startOfDay)
Combines this general timestamp with given timezone to a global UTC-moment.<C extends CalendarVariant<C>>
GeneralTimestamp<C>ZonalClock.now(CalendarFamily<C> family, String variant, StartOfDay startOfDay)
Gets the current timestamp in the associated timezone and given chronology taking into account given calendar variant and start of day.<C extends CalendarVariant<C>>
GeneralTimestamp<C>ZonalClock.now(CalendarFamily<C> family, VariantSource variantSource, StartOfDay startOfDay)
Equivalent tonow(chronology, variantSource.getVariant(), startOfDay)
.<C extends CalendarVariant<C>>
GeneralTimestamp<C>Moment.toGeneralTimestamp(CalendarFamily<C> family, String variant, TZID tzid, StartOfDay startOfDay)
Converts this instance to a general timestamp in given timezone.<C extends Calendrical<?, C>>
GeneralTimestamp<C>Moment.toGeneralTimestamp(Chronology<C> chronology, TZID tzid, StartOfDay startOfDay)
Converts this instance to a general timestamp in given timezone. -
Uses of StartOfDay in net.time4j.calendar
Modifier and TypeMethodDescriptionstatic HebrewCalendar
HebrewCalendar.nowInSystemTime(StartOfDay startOfDay)
Obtains the current calendar date in system time with given start of day.static HijriCalendar
HijriCalendar.nowInSystemTime(String variant, StartOfDay startOfDay)
Obtains the current calendar date in system time.static HijriCalendar
HijriCalendar.nowInSystemTime(VariantSource variantSource, StartOfDay startOfDay)
Obtains the current calendar date in system time. -
Uses of StartOfDay in net.time4j.calendar.hindu
Modifier and TypeMethodDescriptionstatic HinduCalendar
HinduCalendar.nowInSystemTime(HinduVariant variant, StartOfDay startOfDay)
Obtains the current calendar date in system time. -
Uses of StartOfDay in net.time4j.engine
Modifier and TypeFieldDescriptionstatic StartOfDay
StartOfDay.EVENING
Start of calendar day at 18:00 on previous day.static StartOfDay
StartOfDay.MIDNIGHT
Default start of calendar day at midnight.static StartOfDay
StartOfDay.MORNING
Start of calendar day at 06:00 in the morning.Modifier and TypeMethodDescriptionstatic <T extends UnixTime>
StartOfDayStartOfDay.definedBy(ChronoFunction<CalendarDate,Optional<T>> event)
Obtains the start of a calendar day as determined by given date function.BridgeChronology.getDefaultStartOfDay()
Chronology.getDefaultStartOfDay()
default StartOfDay
ChronoMerger.getDefaultStartOfDay()
Determines the default start of day.static StartOfDay
StartOfDay.ofFixedDeviation(int deviation)
Obtains the start of a calendar day relative to midnight in fixed seconds. -
Uses of StartOfDay in net.time4j.format
Modifier and TypeFieldDescriptionstatic AttributeKey<StartOfDay>
Attributes.START_OF_DAY
Defines an attribute key which can be used in queries for the start of day during formatting or parsing. -
Uses of StartOfDay in net.time4j.format.expert
Modifier and TypeMethodDescriptionChronoFormatter.with(StartOfDay startOfDay)
Sets the start of calendar day.