本文整理了Java中net.fortuna.ical4j.model.property.Geo.<init>()
方法的一些代码示例,展示了Geo.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Geo.<init>()
方法的具体详情如下:
包路径:net.fortuna.ical4j.model.property.Geo
类名称:Geo
方法名:<init>
[英]Default constructor.
[中]默认构造函数。
代码示例来源:origin: ical4j/ical4j
public Property createProperty(final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Geo(parameters, value);
}
代码示例来源:origin: org.bedework/bw-ical4j-cl
public Property createProperty(final String name,
final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Geo(parameters, value);
}
代码示例来源:origin: ical4j/ical4j
public Property createProperty() {
return new Geo();
}
}
代码示例来源:origin: net.oneandone.ical4j/ical4j
public Property createProperty(final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Geo(parameters, value);
}
代码示例来源:origin: org.mnode.ical4j/ical4j
public Property createProperty() {
return new Geo();
}
}
代码示例来源:origin: org.bedework.ical4j/ical4j
public Property createProperty() {
return new Geo();
}
}
代码示例来源:origin: org.mnode.ical4j/ical4j
public Property createProperty(final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Geo(parameters, value);
}
代码示例来源:origin: org.bedework.ical4j/ical4j
public Property createProperty(final ParameterList parameters, final String value)
throws IOException, URISyntaxException, ParseException {
return new Geo(parameters, value);
}
代码示例来源:origin: org.bedework/bw-ical4j-cl
public Property createProperty(final String name) {
return new Geo();
}
};
代码示例来源:origin: net.oneandone.ical4j/ical4j
public Property createProperty() {
return new Geo();
}
}
代码示例来源:origin: ical4j/ical4j
/**
* @return
*/
public static TestSuite suite() {
TestSuite suite = new TestSuite();
// Ensure no loss of precision in lattitude/longitude..
Geo geo = new Geo("37.386013;-122.082932");
suite.addTest(new GeoTest(geo, "37.386013;-122.082932"));
//testGeoBigDecimal..
BigDecimal latitude = BigDecimal.valueOf(65.35);
BigDecimal longitude = BigDecimal.valueOf(22.01);
geo = new Geo(latitude, longitude);
suite.addTest(new GeoTest(geo, "65.35;22.01"));
suite.addTest(new GeoTest("testValidation", geo));
suite.addTest(new GeoTest("testEquals", geo));
return suite;
}
}
代码示例来源:origin: org.bedework.caleng/bw-calendar-engine-ical
BwGeo bwgeo = val.getGeo();
if (bwgeo != null) {
Geo geo = new Geo(bwgeo.getLatitude(), bwgeo.getLongitude());
pl.add(geo);
内容来源于网络,如有侵权,请联系作者删除!