Klasse CalHelper
java.lang.Object
de.uplanet.lucy.server.auxiliaries.calendar.CalHelper
Veraltet.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic final classVeraltet.Since 2015-09-17. -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintVeraltet.Do not use this method.intVeraltet.UseString.compareTo(String)instead.convertDateForInput(String p_strInValue) Veraltet.convertDateForOutput(String p_strValue) Veraltet.convertDateTimeForInput(String p_strInValue) Veraltet.convertDateTimeForOutput(long p_value) Veraltet.convertDateTimeForOutput(String p_strValue) Veraltet.convertDateTimeForOutput(Date p_dt) Veraltet.convertDateTimeForVCalendar(String p_strInValue) Veraltet.Veraltet.Veraltet.Veraltet.getAscensionDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getAscensionDate(Object, TimeZone)instead.getAshWednesdayDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getAshWednesdayDate(Object, TimeZone)instead.getCalendar(String p_strAdjust) Veraltet.getCalendarWithAdjustment(String p_strAdjust) Veraltet.getCorpusChristiDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getCorpusChristiDate(Object, TimeZone)instead.getDateFromString(String p_strDate, TimeZone p_tz) Veraltet.getDefaultIso(String p_strAdjust) Veraltet.getDefaultIso(String p_strAdjust, String p_strTimeZone) Veraltet.Veraltet.Method getDeSelectedApps.getDeSelectedApps(String p_strUserGuid) Veraltet.Method getDeSelectedApps.intgetDiffInDays(String p_strIso) Veraltet.longgetDiffInMillis(String p_strIso) Veraltet.longgetDiffInMillis(String p_strIso1, String p_strIso2) Veraltet.getEasterDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getEasterDate(Object, TimeZone)instead.getEasterMondayDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getEasterMondayDate(Object, TimeZone)instead.getGoodFridayDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getGoodFridayDate(Object, TimeZone)instead.longgetLunationNumber(long p_lTime) Veraltet.UseDateTimeUtil.getLunationNumber(Object)instead.longgetLunationNumber(Date p_dt) Veraltet.UseDateTimeUtil.getLunationNumber(Object)instead.getMaundyThursdayDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getMaundyThursdayDate(Object, TimeZone)instead.longgetMeeusLunationNumber(long p_lTime) Veraltet.UseDateTimeUtil.getMeeusLunationNumber(Object)instead.longgetMeeusLunationNumber(Date p_dt) Veraltet.UseDateTimeUtil.getMeeusLunationNumber(Object)instead.Veraltet.UseDateTimeUtil.now(TimeZone)instead.getNowCalendar(TimeZone p_tz) Veraltet.UseDateTimeUtil.now(TimeZone)instead.getPenanceDayDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getPenanceDayDate(Object, TimeZone)instead.getPentecostDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getPentecostDate(Object, TimeZone)instead.doublegetPhaseOfTheMoon(long p_lTime) Veraltet.UseDateTimeUtil.getPhaseOfTheMoon(Object)instead.doublegetPhaseOfTheMoon(Date p_dt) Veraltet.UseDateTimeUtil.getPhaseOfTheMoon(Object)instead.Veraltet.UseObjectFactory.getRFC5545Util()instead.Veraltet.Method getSelectedApps.getSelectedApps(String p_strUserGuid) Veraltet.Method getSelectedApps by User Guid.getShroveMondayDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getShroveMondayDate(Object, TimeZone)instead.getUpCalendarFromDate(Date p_dt, TimeZone p_tz) Veraltet.getUpCalendarFromString(String p_strDate, TimeZone p_tz) Veraltet.getUpCalendarFromVH(IValueHolder<?> p_vh, TimeZone p_tz) Veraltet.IValueHolder<?> getVHFromDateString(String p_strInValue) Veraltet.IValueHolder<?> getVHFromDateString(String p_strInValue, String p_strTimeZone) Veraltet.IValueHolder<?> getVHFromDateString(String p_strInValue, TimeZone p_timeZone) Veraltet.IValueHolder<?> getVHFromDateStringWithAdjust(String p_strInValue, String p_strAdjust, TimeZone p_timeZone) Veraltet.IValueHolder<?> getVHFromDateTimeString(String p_strInValue) Veraltet.IValueHolder<?> getVHFromDateTimeString(String p_strInValue, String p_strTimeZone) Veraltet.IValueHolder<?> getVHFromDateTimeString(String p_strInValue, TimeZone p_timeZone) Veraltet.IValueHolder<?> getVHFromDateTimeStringWithAdjust(String p_strInValue, String p_strAdjust, TimeZone p_timeZone) Veraltet.IValueHolder<?> getVHFromTimeString(String p_strInValue) Veraltet.IValueHolder<?> getVHFromTimeString(String p_strInValue, String p_strTimeZone) Veraltet.IValueHolder<?> getVHFromTimeString(String p_strInValue, TimeZone p_timeZone) Veraltet.IValueHolder<?> getVHFromTimeStringWithAdjust(String p_strInValue, String p_strAdjust, TimeZone p_timeZone) Veraltet.intgetWeekNumber(Calendar p_cal) Veraltet.Use$DtUtil.getISO8601WeekNumberinstead.getWhitMondayDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getWhitMondayDate(Object, TimeZone)instead.getWhitSundayDate(Object p_obj, TimeZone p_tz) Veraltet.UseDateTimeUtil.getWhitSundayDate(Object, TimeZone)instead.voidinit(IServerBridgeRequest p_request) Veraltet.booleanVeraltet.booleanVeraltet.
-
Konstruktordetails
-
CalHelper
public CalHelper()Veraltet.
-
-
Methodendetails
-
init
Veraltet.- Parameter:
p_request- The current request.
-
getVHFromDateTimeString
Veraltet.Converts the given UTC date-time string to a value holder.- Parameter:
p_strInValue- The UTC date time string.
-
getVHFromDateTimeString
@Deprecated public IValueHolder<?> getVHFromDateTimeString(String p_strInValue, String p_strTimeZone) Veraltet.Converts the given date-time string to a value holder.- Parameter:
p_strInValue- The date time string.p_strTimeZone- The time zone to be used.
-
getVHFromDateTimeString
@Deprecated public IValueHolder<?> getVHFromDateTimeString(String p_strInValue, TimeZone p_timeZone) Veraltet.Converts the given date-time string to a value holder.- Parameter:
p_strInValue- The date time string.p_timeZone- The time zone to be used.
-
getVHFromDateTimeStringWithAdjust
@Deprecated public IValueHolder<?> getVHFromDateTimeStringWithAdjust(String p_strInValue, String p_strAdjust, TimeZone p_timeZone) Veraltet.Converts the given date-time string to a value holder.- Parameter:
p_strInValue- The date time string.p_strAdjust- The adjust string.p_timeZone- The time zone.
-
getVHFromDateString
Veraltet.Converts the given UTC date string to a value holder.- Parameter:
p_strInValue- The UTC date string.
-
getVHFromDateString
Veraltet.Converts the given date string to a value holder.- Parameter:
p_strInValue- The date string.p_strTimeZone- The time zone to be used.
-
getVHFromDateString
Veraltet.Converts the given date string to a value holder.- Parameter:
p_strInValue- The date time string.p_timeZone- The time zone to be used.
-
getVHFromDateStringWithAdjust
@Deprecated public IValueHolder<?> getVHFromDateStringWithAdjust(String p_strInValue, String p_strAdjust, TimeZone p_timeZone) Veraltet.Converts the given string to a date value holder.- Parameter:
p_strInValue- The DateTime string.p_strAdjust- The adjust string.p_timeZone- The time zone.
-
getVHFromTimeString
Veraltet.Converts the given time string to a value holder.The date part of the value holder created contains the current date in the UTC time zone.
- Parameter:
p_strInValue- The time string.
-
getVHFromTimeString
Veraltet.Converts the given time string to a value holder.The date part of the value holder created contains the current date in the given time zone.
- Parameter:
p_strInValue- The time string.p_strTimeZone- The time zone to be used.
-
getVHFromTimeString
Veraltet.Converts the given time string to a value holder.The date part of the value holder created contains the current date in the given time zone.
- Parameter:
p_strInValue- The time string.p_timeZone- The time zone to be used.
-
getVHFromTimeStringWithAdjust
@Deprecated public IValueHolder<?> getVHFromTimeStringWithAdjust(String p_strInValue, String p_strAdjust, TimeZone p_timeZone) Veraltet.Converts the given time string to a value holder.The date part of the value holder created contains the current date in the given time zone.
- Parameter:
p_strInValue- The time string.p_strAdjust- The adjust string.p_timeZone- The time zone to be used.
-
convertDateForInput
Veraltet. -
convertDateTimeForInput
Veraltet. -
convertDateTimeForVCalendar
Veraltet. -
convertValueHolderForVCalendar
Veraltet. -
convertDateForOutput
Veraltet. -
convertDateTimeForOutput
Veraltet. -
convertDateTimeForOutput
Veraltet. -
convertDateTimeForOutput
Veraltet. -
getSelectedApps
Veraltet.Method getSelectedApps.- Gibt zurück:
- List
-
getSelectedApps
Veraltet.Method getSelectedApps by User Guid.- Parameter:
p_strUserGuid- used for profile settings- Gibt zurück:
- List
-
getDeSelectedApps
Veraltet.Method getDeSelectedApps.- Gibt zurück:
- List
-
getDeSelectedApps
Veraltet.Method getDeSelectedApps.- Parameter:
p_strUserGuid- used for profile settings- Gibt zurück:
- List
-
getDefaultIso
Veraltet.Returns the adjusted ISO time string realted to the users timezone- Parameter:
p_strAdjust- eg. ",+1,1,0,0,0"- Gibt zurück:
- String e.g. "2003-09-01 00:00:00"
-
getDefaultIso
Veraltet.Returns the adjusted ISO time string.- Parameter:
p_strAdjust- eg. ",+1,1,0,0,0"p_strTimeZone- as Stirng- Gibt zurück:
- String e.g. "2003-09-01 00:00:00"
-
format
Veraltet.- Parameter:
p_cal-p_pattern-- Gibt zurück:
- a format date time string using the sessions language locale
-
format
Veraltet.- Parameter:
p_strDateTimeISOinUTC-p_pattern-- Gibt zurück:
- a format date time string using the sessions language locale
-
getDiffInMillis
Veraltet.- Parameter:
p_strIso-- Gibt zurück:
- The difference between today (now) and the given date in millisecons (negative if the given date is before now).
-
compare
Veraltet.UseString.compareTo(String)instead. -
compare
Veraltet.Do not use this method. -
getDiffInMillis
Veraltet.- Parameter:
p_strIso1-p_strIso2-- Gibt zurück:
- the difference between p_strIso2 and the given date p_strIso1 in millisecons (p_strIso2 - p_strIso1)
-
isToday
Veraltet.- Parameter:
p_strIso-- Gibt zurück:
- Boolean
-
isToday
Veraltet.- Parameter:
p_cal- a calendar- Gibt zurück:
- boolean true if the calendar is today
-
getDiffInDays
Veraltet.- Parameter:
p_strIso-- Gibt zurück:
- the difference between today(now) and the given date in days (negative if the given date is before now)
-
getWeekNumber
Veraltet.Use$DtUtil.getISO8601WeekNumberinstead. -
getDateFromString
Veraltet.- Parameter:
p_strDate- A string representing a date.p_tz- The time zone to be used.- Gibt zurück:
- Date
-
getUpCalendarFromString
Veraltet.- Parameter:
p_strDate- A string representing a date.p_tz- The time zone to be used.- Gibt zurück:
- UpCalendar
-
getUpCalendarFromVH
Veraltet.- Parameter:
p_vh- A date ValueHolder.p_tz- The time zone to be used.- Gibt zurück:
- UpCalendar
-
getUpCalendarFromDate
Veraltet.- Parameter:
p_dt- A date object.p_tz- The time zone to be used.- Gibt zurück:
- UpCalendar
-
getNowCalendar
Veraltet.UseDateTimeUtil.now(TimeZone)instead.- Parameter:
p_tz-- Gibt zurück:
- UpCalendar at now using the given timezone
-
getNowCalendar
Veraltet.UseDateTimeUtil.now(TimeZone)instead.- Gibt zurück:
- UpCalendar at now using the context users timezone
-
getCalendar
Veraltet. -
getCalendarWithAdjustment
Veraltet. -
getLunationNumber
Veraltet.UseDateTimeUtil.getLunationNumber(Object)instead. -
getLunationNumber
Veraltet.UseDateTimeUtil.getLunationNumber(Object)instead. -
getMeeusLunationNumber
Veraltet.UseDateTimeUtil.getMeeusLunationNumber(Object)instead. -
getMeeusLunationNumber
Veraltet.UseDateTimeUtil.getMeeusLunationNumber(Object)instead. -
getPhaseOfTheMoon
Veraltet.UseDateTimeUtil.getPhaseOfTheMoon(Object)instead. -
getPhaseOfTheMoon
Veraltet.UseDateTimeUtil.getPhaseOfTheMoon(Object)instead. -
getShroveMondayDate
Veraltet.UseDateTimeUtil.getShroveMondayDate(Object, TimeZone)instead.Get the Shrove Monday (Rosenmontag) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Shrove Monday date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getAshWednesdayDate
Veraltet.UseDateTimeUtil.getAshWednesdayDate(Object, TimeZone)instead.Get the Ash Wednesday (Aschermittwoch) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Ash Wednesday date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getMaundyThursdayDate
Veraltet.UseDateTimeUtil.getMaundyThursdayDate(Object, TimeZone)instead.Get the Maundy Thursday (Gründonnerstag) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Maundy Thursday date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getGoodFridayDate
Veraltet.UseDateTimeUtil.getGoodFridayDate(Object, TimeZone)instead.Get the Good Friday (Karfreitag) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Good Friday date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getEasterDate
Veraltet.UseDateTimeUtil.getEasterDate(Object, TimeZone)instead.Get the Easter (Ostersonntag) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Easter date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getEasterMondayDate
Veraltet.UseDateTimeUtil.getEasterMondayDate(Object, TimeZone)instead.Get the Easter Monday (Ostermontag) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Easter Monday date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getAscensionDate
Veraltet.UseDateTimeUtil.getAscensionDate(Object, TimeZone)instead.Get the Ascension Day (Christi Himmelfahrt) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Ascension Day date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getWhitSundayDate
Veraltet.UseDateTimeUtil.getWhitSundayDate(Object, TimeZone)instead.Get the Whit Sunday (Pfingstsonntag) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Whit Sunday date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getWhitMondayDate
Veraltet.UseDateTimeUtil.getWhitMondayDate(Object, TimeZone)instead.Get the Whit Monday (Pfingstmontag) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Whit Monday date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getPentecostDate
Veraltet.UseDateTimeUtil.getPentecostDate(Object, TimeZone)instead.Get the Pentecost date (Pfingstsonntag) in the given year. Same asgetWhitSundayDate.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Pentecost date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getCorpusChristiDate
Veraltet.UseDateTimeUtil.getCorpusChristiDate(Object, TimeZone)instead.Get the Corpus Christi (Fronleichnam) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Corpus Christi date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getPenanceDayDate
Veraltet.UseDateTimeUtil.getPenanceDayDate(Object, TimeZone)instead.Get the Penance Day (Buß- und Bettag) date in the given year.- Parameter:
p_obj- The year, either as an integer, or date, orIValueHolder.p_tz- The time zone.- Gibt zurück:
- The Penance Day date as both a
java.sql.Timestampand as aIDateTimeValueHolder
-
getRFC5545Util
Veraltet.UseObjectFactory.getRFC5545Util()instead.- Gibt zurück:
- A RFC 5545 utility.
- Seit:
- Intrexx version 5.2.
-
DateTimeUtil, orCalendarAwareDate.