MCPcopy Create free account
hub / github.com/MenoData/Time4J / ZonalElement

Interface ZonalElement

base/src/main/java/net/time4j/ZonalElement.java:45–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 * @since 2.0
44 */
45public interface ZonalElement<V>
46 extends ChronoElement<V> {
47
48 //~ Methoden ----------------------------------------------------------
49
50 /**
51 * <p>Creates a function which can query a {@link Moment} in the
52 * system timezone. </p>
53 *
54 * <p>Note: Usually the function converts the given {@code Moment} to
55 * a {@code PlainTimestamp} and then queries this local timestamp. </p>
56 *
57 * @return function with the default system timezone reference,
58 * applicable on instances of {@code Moment}
59 * @since 2.0
60 */
61 /*[deutsch]
62 * <p>Erzeugt eine Funktion, die einen {@link Moment} mit
63 * Hilfe der Systemzeitzonenreferenz abfragen kann. </p>
64 *
65 * <p>Hinweis: Die Funktion wandelt meist den gegebenen {@code Moment}
66 * in einen lokalen Zeitstempel um und fragt dann diesen ab. </p>
67 *
68 * @return function with the default system timezone reference,
69 * applicable on instances of {@code Moment}
70 * @since 2.0
71 */
72 ChronoFunction<Moment, V> inStdTimezone();
73
74 /**
75 * <p>Creates a function which can query a {@link Moment} in the
76 * given timezone. </p>
77 *
78 * <p>Note: Usually the function converts the given {@code Moment} to
79 * a {@code PlainTimestamp} and then queries this zonal timestamp. </p>
80 *
81 * @param tzid timezone id
82 * @return function applicable on instances of {@code Moment}
83 * @since 2.0
84 * @throws IllegalArgumentException if given timezone cannot be loaded
85 */
86 /*[deutsch]
87 * <p>Erzeugt eine Funktion, die einen {@link Moment} mit
88 * Hilfe einer Zeitzonenreferenz abfragen kann. </p>
89 *
90 * <p>Hinweis: Die Funktion wandelt meist den gegebenen {@code Moment}
91 * in einen zonalen Zeitstempel um und fragt dann diesen ab. </p>
92 *
93 * @param tzid timezone id
94 * @return function applicable on instances of {@code Moment}
95 * @since 2.0
96 * @throws IllegalArgumentException if given timezone cannot be loaded
97 */
98 ChronoFunction<Moment, V> inTimezone(TZID tzid);
99
100 /**
101 * <p>Creates a function which can query a {@link Moment} in the
102 * given timezone. </p>

Callers 34

nowMomentMethod · 0.65
setToNextTimeOnMomentMethod · 0.65
printMomentInGermanyMethod · 0.65
parseMomentInGermanyMethod · 0.65
setUpMethod · 0.65
withClockHourOfAmPmMethod · 0.65
withYearMethod · 0.65
withYearOfWeekdateMethod · 0.65
plusPosixHoursBerlinMethod · 0.65
zdtToTime4JMethod · 0.65

Implementers 8

AbstractDateElementbase/src/main/java/net/time4j/Abstract
PlainTimestampbase/src/main/java/net/time4j/PlainTim
ElementOperatorbase/src/main/java/net/time4j/ElementO
DateElementbase/src/main/java/net/time4j/DateElem
TimeElementbase/src/main/java/net/time4j/TimeElem
DecimalTimeElementbase/src/main/java/net/time4j/DecimalT
AbstractTimeElementbase/src/main/java/net/time4j/Abstract
TimestampIntervalbase/src/main/java/net/time4j/range/Ti

Calls

no outgoing calls

Tested by

no test coverage detected