All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.icu.impl.duration.TimeUnitConstants Maven / Gradle / Ivy

Go to download

Vaadin is a web application framework for Rich Internet Applications (RIA). Vaadin enables easy development and maintenance of fast and secure rich web applications with a stunning look and feel and a wide browser support. It features a server-side architecture with the majority of the logic running on the server. Ajax technology is used at the browser-side to ensure a rich and interactive user experience.

There is a newer version: 1.2.0
Show newest version
/*
******************************************************************************
* Copyright (C) 2007, International Business Machines Corporation and   *
* others. All Rights Reserved.                                               *
******************************************************************************
*/

package com.ibm.icu.impl.duration;

/**
 * Easy access to time units for Java 1.4, which doesn't have static imports.
 */
public interface TimeUnitConstants {
  /** Represents a year. */ 
  public static final TimeUnit YEAR = TimeUnit.YEAR;

  /** Represents a month. */  
  public static final TimeUnit MONTH = TimeUnit.MONTH;

  /** Represents a week. */ 
  public static final TimeUnit WEEK = TimeUnit.WEEK;

  /** Represents a day. */ 
  public static final TimeUnit DAY = TimeUnit.DAY;

  /** Represents an hour. */ 
  public static final TimeUnit HOUR = TimeUnit.HOUR;

  /** Represents a minute. */ 
  public static final TimeUnit MINUTE = TimeUnit.MINUTE;

  /** Represents a second. */ 
  public static final TimeUnit SECOND = TimeUnit.SECOND;

  /** Represents a millisecond. */ 
  public static final TimeUnit MILLISECOND = TimeUnit.MILLISECOND;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy