本文整理了Java中net.fortuna.ical4j.model.ZoneOffsetAdapter
类的一些代码示例,展示了ZoneOffsetAdapter
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZoneOffsetAdapter
类的具体详情如下:
包路径:net.fortuna.ical4j.model.ZoneOffsetAdapter
类名称:ZoneOffsetAdapter
[英]Support adapter for java.time.ZoneOffset to output in iCalendar format.
[中]支持java适配器。时间分区偏移以iCalendar格式输出。
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* @param offset The offset to set.
*/
public final void setOffset(final ZoneOffset offset) {
this.offset = new ZoneOffsetAdapter(offset);
}
代码示例来源:origin: ical4j/ical4j
/**
* @param anOffset a timezone offset in milliseconds
*/
@Deprecated
public TzOffsetTo(final UtcOffset anOffset) {
this(ZoneOffsetAdapter.from(anOffset));
}
代码示例来源:origin: ical4j/ical4j
/**
* @return Returns the offset.
*/
public final ZoneOffset getOffset() {
return offset.getOffset();
}
代码示例来源:origin: ical4j/ical4j
/**
* {@inheritDoc}
*/
public final String getValue() {
if (offset != null) {
return offset.toString();
}
return "";
}
代码示例来源:origin: ical4j/ical4j
/**
* {@inheritDoc}
*/
public final String getValue() {
if (offset != null) {
return offset.toString();
}
return "";
}
代码示例来源:origin: ical4j/ical4j
/**
* @param offset The offset to set.
*/
public final void setOffset(final ZoneOffset offset) {
this.offset = new ZoneOffsetAdapter(offset);
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* @param anOffset a timezone offset in milliseconds
*/
@Deprecated
public TzOffsetFrom(final UtcOffset anOffset) {
this(ZoneOffsetAdapter.from(anOffset));
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* {@inheritDoc}
*/
public final String getValue() {
if (offset != null) {
return offset.toString();
}
return "";
}
代码示例来源:origin: ical4j/ical4j
/**
* @return Returns the offset.
*/
public final ZoneOffset getOffset() {
return offset.getOffset();
}
代码示例来源:origin: ical4j/ical4j
/**
* @param offset The offset to set.
*/
public final void setOffset(final ZoneOffset offset) {
this.offset = new ZoneOffsetAdapter(offset);
}
代码示例来源:origin: ical4j/ical4j
/**
* @param anOffset a timezone offset in milliseconds
*/
@Deprecated
public TzOffsetFrom(final UtcOffset anOffset) {
this(ZoneOffsetAdapter.from(anOffset));
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* {@inheritDoc}
*/
public final String getValue() {
if (offset != null) {
return offset.toString();
}
return "";
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* @return Returns the offset.
*/
public final ZoneOffset getOffset() {
return offset.getOffset();
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* @param offset The offset to set.
*/
public final void setOffset(final ZoneOffset offset) {
this.offset = new ZoneOffsetAdapter(offset);
}
代码示例来源:origin: ical4j/ical4j
/**
* @param aList a list of parameters for this component
* @param anOffset a timezone offset in milliseconds
*/
@Deprecated
public TzOffsetFrom(final ParameterList aList, final UtcOffset anOffset) {
this(aList, ZoneOffsetAdapter.from(anOffset));
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* @return Returns the offset.
*/
public final ZoneOffset getOffset() {
return offset.getOffset();
}
代码示例来源:origin: ical4j/ical4j
/**
* @param aList a list of parameters for this component
* @param anOffset a timezone offset in milliseconds
*/
public TzOffsetTo(final ParameterList aList, final ZoneOffset anOffset) {
super(TZOFFSETTO, aList, new Factory());
offset = new ZoneOffsetAdapter(anOffset);
}
代码示例来源:origin: ical4j/ical4j
/**
* @param aList a list of parameters for this component
* @param anOffset a timezone offset in milliseconds
*/
@Deprecated
public TzOffsetTo(final ParameterList aList, final UtcOffset anOffset) {
this(aList, ZoneOffsetAdapter.from(anOffset));
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* {@inheritDoc}
*/
public final void setValue(final String aValue) {
offset = new ZoneOffsetAdapter(ZoneOffset.of(aValue));
}
代码示例来源:origin: org.mnode.ical4j/ical4j
/**
* @param anOffset a timezone offset in milliseconds
*/
@Deprecated
public TzOffsetTo(final UtcOffset anOffset) {
this(ZoneOffsetAdapter.from(anOffset));
}
内容来源于网络,如有侵权,请联系作者删除!