📄 timeunit.as
字号:
package com.yahoo.astra.utils{ /** * A collection of constants for date and time units. * * @author Josh Tynjala */ public class TimeUnit { /** * A constant representing the year unit in date and time values. */ public static const YEAR:String = "year"; /** * A constant representing the month unit in date and time values. */ public static const MONTH:String = "month"; /** * A constant representing the day unit in date and time values. */ public static const DAY:String = "day"; /** * A constant representing the hours unit in date and time values. */ public static const HOURS:String = "hours"; /** * A constant representing the minutes unit in date and time values. */ public static const MINUTES:String = "minutes"; /** * A constant representing the seconds unit in date and time values. */ public static const SECONDS:String = "seconds"; /** * A constant representing the milliseconds unit in date and time values. */ public static const MILLISECONDS:String = "milliseconds"; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -