List of usage examples for org.joda.time.base BaseLocal get
public int get(DateTimeFieldType type)
From source file:net.karlmartens.platform.datatable.DataTableCell.java
License:Apache License
private static JsonElement createJsonElement(DateTimeFieldType field, BaseLocal local) { if (!local.isSupported(field)) return JsonNull.INSTANCE; return new JsonPrimitive(local.get(field)); }