public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createItemTitle(DateFormatter df,
java.util.Locale locale,
java.util.TimeZone timezone,
CalendarItem ce) |
static java.lang.String |
encloseItemList(Calendars calendars,
java.util.Collection<CalendarItem> collection) |
static java.lang.String |
encloseItemMap(Calendars calendars,
java.util.Map<java.lang.String,java.util.List<CalendarItem>> map) |
static java.lang.String |
encloseList(java.util.Collection<java.lang.String> collection) |
static java.lang.String |
escapeXML(java.lang.String s)
This method is missing in
XMLs , unfortunately. |
static java.util.Date |
fixDSTTime(java.util.TimeZone tz,
java.util.Date date) |
static long |
getDSTTime(java.util.TimeZone tz,
java.util.Date date) |
static java.util.List<java.util.List<java.lang.String>> |
packAllCaptionOfMonth(Calendars calendars,
java.util.Calendar cal,
java.util.Locale locale,
java.util.TimeZone timezone,
DateFormatter dfhandler) |
static java.util.List<java.lang.String> |
packCaptionByDate(java.util.Calendar cal,
int days,
java.util.Locale locale,
java.util.TimeZone timezone,
DateFormatter dfhandler) |
static java.util.List<java.lang.String> |
packCaptionByTimeOfDay(java.util.Calendar cal,
java.util.Map<java.util.TimeZone,java.lang.String> zones,
java.util.Locale locale,
DateFormatter dfhandler) |
static java.util.List<java.lang.String> |
packZonesOffset(java.util.Map<java.util.TimeZone,java.lang.String> _tzones) |
public static java.lang.String createItemTitle(DateFormatter df, java.util.Locale locale, java.util.TimeZone timezone, CalendarItem ce)
public static java.util.List<java.util.List<java.lang.String>> packAllCaptionOfMonth(Calendars calendars, java.util.Calendar cal, java.util.Locale locale, java.util.TimeZone timezone, DateFormatter dfhandler)
public static java.util.List<java.lang.String> packCaptionByDate(java.util.Calendar cal, int days, java.util.Locale locale, java.util.TimeZone timezone, DateFormatter dfhandler)
public static java.util.List<java.lang.String> packCaptionByTimeOfDay(java.util.Calendar cal, java.util.Map<java.util.TimeZone,java.lang.String> zones, java.util.Locale locale, DateFormatter dfhandler)
public static java.util.List<java.lang.String> packZonesOffset(java.util.Map<java.util.TimeZone,java.lang.String> _tzones)
public static java.lang.String encloseItemList(Calendars calendars, java.util.Collection<CalendarItem> collection)
public static java.lang.String encloseList(java.util.Collection<java.lang.String> collection)
public static java.lang.String encloseItemMap(Calendars calendars, java.util.Map<java.lang.String,java.util.List<CalendarItem>> map)
public static java.lang.String escapeXML(java.lang.String s)
XMLs
, unfortunately.s
- String to escape.s
escaped string.XMLs.escapeXML(char)
public static long getDSTTime(java.util.TimeZone tz, java.util.Date date)
public static java.util.Date fixDSTTime(java.util.TimeZone tz, java.util.Date date)
Copyright © 2021. All Rights Reserved.