Ejemplo n.º 1
0
 /* Returns the month of the given datetime value.
  */
 public static SchemaTypeNumber monthFromDuration(SchemaDuration value) {
   return new SchemaInt(value.isNegative() ? -value.getMonth() : value.getMonth());
 }