1 /* GENERATED SOURCE. DO NOT MODIFY. */ 2 // © 2016 and later: Unicode, Inc. and others. 3 // License & terms of use: http://www.unicode.org/copyright.html#License 4 /* 5 ****************************************************************************** 6 * Copyright (C) 2007, International Business Machines Corporation and * 7 * others. All Rights Reserved. * 8 ****************************************************************************** 9 */ 10 11 package ohos.global.icu.impl.duration; 12 13 /** 14 * Easy access to time units for Java 1.4, which doesn't have static imports. 15 * @hide exposed on OHOS 16 */ 17 public interface TimeUnitConstants { 18 /** Represents a year. */ 19 public static final TimeUnit YEAR = TimeUnit.YEAR; 20 21 /** Represents a month. */ 22 public static final TimeUnit MONTH = TimeUnit.MONTH; 23 24 /** Represents a week. */ 25 public static final TimeUnit WEEK = TimeUnit.WEEK; 26 27 /** Represents a day. */ 28 public static final TimeUnit DAY = TimeUnit.DAY; 29 30 /** Represents an hour. */ 31 public static final TimeUnit HOUR = TimeUnit.HOUR; 32 33 /** Represents a minute. */ 34 public static final TimeUnit MINUTE = TimeUnit.MINUTE; 35 36 /** Represents a second. */ 37 public static final TimeUnit SECOND = TimeUnit.SECOND; 38 39 /** Represents a millisecond. */ 40 public static final TimeUnit MILLISECOND = TimeUnit.MILLISECOND; 41 } 42