📄 jiveconstants.java
字号:
/** * $RCSfile$ * $Revision: 10195 $ * $Date: 2008-04-10 15:15:47 -0700 (Thu, 10 Apr 2008) $ * * Copyright (C) 2008 Jive Software. All rights reserved. * * This software is published under the terms of the GNU Public License (GPL), * a copy of which is included in this distribution, or a commercial license * agreement with Jive. */package org.jivesoftware.util;/** * Contains constant values representing various objects in Jive. */public class JiveConstants { public static final int SYSTEM = 17; public static final int ROSTER = 18; public static final int OFFLINE = 19; public static final int MUC_ROOM = 23; public static final int SECURITY_AUDIT = 25; public static final long SECOND = 1000; public static final long MINUTE = 60 * SECOND; public static final long HOUR = 60 * MINUTE; public static final long DAY = 24 * HOUR; public static final long WEEK = 7 * DAY; /** * Date/time format for use by SimpleDateFormat. The format conforms to * <a href="http://www.xmpp.org/extensions/xep-0082.html">XEP-0082</a>, which defines * a unified date/time format for XMPP. */ public static final String XMPP_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"; /** * Date/time format for use by SimpleDateFormat. The format conforms to the format * defined in <a href="http://www.xmpp.org/extensions/xep-0091.html">XEP-0091</a>, * a specialized date format for historical XMPP usage. */ public static final String XMPP_DELAY_DATETIME_FORMAT = "yyyyMMdd'T'HH:mm:ss";}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -