/**
 * @license
 * Copyright 2019 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

foam.CLASS({
  package: 'foam.nanos.cron',
  name: 'TimeHMS',

  documentation: `
    Models a a time or duration in 24-hour notation.
    Does not model a date.
  `,

  properties: [
    { name: 'hour',   class: 'Int' },
    { name: 'minute', class: 'Int' },
    { name: 'second', class: 'Int' }
  ]
});

/**
 * @license
 * Copyright 2019 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

foam.CLASS({
  package: 'foam.nanos.cron',
  name: 'TimeHMS',

  documentation: `
    Models a a time or duration in 24-hour notation.
    Does not model a date.
  `,

  properties: [
    {
      class: 'Int',
      name: 'hour',
      gridColumns: 4
    },
    {
      class: 'Int',
      name: 'minute',
      gridColumns: 4
    },
    {
      class: 'Int',
      name: 'second',
      gridColumns: 4
    }
  ]
});

Put TimeHSM inputs inline to save space
Put TimeHSM inputs inline to save space
