Uses of Class
net.time4j.GeneralTimestamp
Packages that use GeneralTimestamp
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 Badi calendar.
Support for the French revolutionary calendar.
Support for the traditional Hindu calendar family.
This package contains the expert-level format- and parse engine of Time4J.
-
Uses of GeneralTimestamp in net.time4j
Methods in net.time4j that return GeneralTimestampModifier and TypeMethodDescriptionSubtracts given count of days from this general timestamp and return the result.GeneralTimestamp.minus(CalendarDays days)
Subtracts given count of days from this general timestamp and return the result.<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)
.static <C extends CalendarVariant<C>>
GeneralTimestamp<C>Creates a new timestamp consisting of a calendar variant and a time component.static <C extends Calendrical<?, C>>
GeneralTimestamp<C>Creates a new timestamp consisting of a general date and a time component.Adds given count of clock units to this general timestamp and return the result.GeneralTimestamp.plus(CalendarDays days)
Adds given count of days to this general timestamp and return the result.<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 GeneralTimestamp in net.time4j.calendar
Methods in net.time4j.calendar that return GeneralTimestampModifier and TypeMethodDescriptionCreates a new local timestamp with this date and given wall time.Creates a new local timestamp with this date and given wall time.EthiopianCalendar.at(EthiopianTime time)
Creates a new local timestamp with this date and given Ethiopian time.Creates a new local timestamp with this date and given civil time.Creates a new local timestamp with this date and given wall time.Creates a new local timestamp with this date and given wall time.Creates a new local timestamp with this date and given wall time.Creates a new local timestamp with this date and given wall time.Creates a new local timestamp with this date and given wall time.Creates a new local timestamp with this date and given wall time.Creates a new local timestamp with this date and given wall time.Creates a new local timestamp with this date and given wall time.Creates a new local timestamp with this date and given wall time.CopticCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.EastAsianCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.HebrewCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.HijriCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.HistoricCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.IndianCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.JapaneseCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.JucheCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.JulianCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.MinguoCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.PersianCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.ThaiSolarCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
. -
Uses of GeneralTimestamp in net.time4j.calendar.bahai
Methods in net.time4j.calendar.bahai that return GeneralTimestampModifier and TypeMethodDescriptionCreates a new local timestamp with this date and given wall time.BadiCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
. -
Uses of GeneralTimestamp in net.time4j.calendar.frenchrev
Methods in net.time4j.calendar.frenchrev that return GeneralTimestampModifier and TypeMethodDescriptionCreates a new local timestamp with this date and given wall time.FrenchRepublicanCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
. -
Uses of GeneralTimestamp in net.time4j.calendar.hindu
Methods in net.time4j.calendar.hindu that return GeneralTimestampModifier and TypeMethodDescriptionCreates a new local timestamp with this date and given civil time.HinduCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
. -
Uses of GeneralTimestamp in net.time4j.format.expert
Methods in net.time4j.format.expert with parameters of type GeneralTimestampModifier and TypeMethodDescriptionChronoFormatter.format(GeneralTimestamp<?> tsp)
Prints given general timestamp.