Package com.helger.commons.datetime
Class PDTMask<T extends Temporal>
- java.lang.Object
-
- com.helger.commons.datetime.PDTMask<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPDTMask(String sPattern, TemporalQuery<T> aQuery)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPattern()TemporalQuery<T>getQuery()static PDTMask<LocalDate>localDate(String sPattern)static PDTMask<LocalDateTime>localDateTime(String sPattern)static PDTMask<OffsetDate>offsetDate(String sPattern)static PDTMask<OffsetDateTime>offsetDateTime(String sPattern)StringtoString()static PDTMask<XMLOffsetDate>xmlOffsetDate(String sPattern)static PDTMask<XMLOffsetDateTime>xmlOffsetDateTime(String sPattern)static PDTMask<Year>year(String sPattern)static PDTMask<YearMonth>yearMonth(String sPattern)static PDTMask<ZonedDateTime>zonedDateTime(String sPattern)
-
-
-
Method Detail
-
getQuery
@Nonnull public TemporalQuery<T> getQuery()
-
zonedDateTime
@Nonnull public static PDTMask<ZonedDateTime> zonedDateTime(@Nonnull @Nonempty String sPattern)
-
offsetDateTime
@Nonnull public static PDTMask<OffsetDateTime> offsetDateTime(@Nonnull @Nonempty String sPattern)
-
xmlOffsetDateTime
@Nonnull public static PDTMask<XMLOffsetDateTime> xmlOffsetDateTime(@Nonnull @Nonempty String sPattern)
-
localDateTime
@Nonnull public static PDTMask<LocalDateTime> localDateTime(@Nonnull @Nonempty String sPattern)
-
offsetDate
@Nonnull public static PDTMask<OffsetDate> offsetDate(@Nonnull @Nonempty String sPattern)
-
xmlOffsetDate
@Nonnull public static PDTMask<XMLOffsetDate> xmlOffsetDate(@Nonnull @Nonempty String sPattern)
-
-