
com.mindoo.domino.jna.constants.TimeFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of domino-jna Show documentation
Show all versions of domino-jna Show documentation
Java project to access the HCL Domino C API using Java Native Access (JNA)
package com.mindoo.domino.jna.constants;
import com.mindoo.domino.jna.NotesTimeDate;
import com.mindoo.domino.jna.internal.NotesConstants;
/**
* Specifies how to format the time part of a {@link NotesTimeDate} to a string.
*
* @author Karsten Lehmann
*/
public enum TimeFormat {
/** hour, minute, and second */
FULL(NotesConstants.TTFMT_FULL),
/** hour and minute */
PARTIAL(NotesConstants.TTFMT_PARTIAL),
/** hour */
HOUR(NotesConstants.TTFMT_HOUR),
/** hour, minute, second, hundredths (max resolution). This currently works only for time-to-text conversion! */
FULL_MAX(NotesConstants.TTFMT_FULL_MAX);
private byte m_val;
TimeFormat(byte val) {
m_val = val;
}
public byte getValue() {
return m_val;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy