コード例 #1
0
def getDateTimeFormat(value):
    return '{0:>s} {1:>s}'.format(
        wulf.getDateFormat(value, wulf.DateFormatType.LONG_FORMAT),
        wulf.getTimeFormat(value, wulf.TimeFormatType.SHORT_FORMAT))
コード例 #2
0
def getLongDateFormat(value):
    return wulf.getDateFormat(value, wulf.DateFormatType.LONG_FORMAT)
コード例 #3
0
def getYearMonthFormat(value):
    return wulf.getDateFormat(value, wulf.DateFormatType.YEAR_MONTH)
コード例 #4
0
def getShortDateFormat(value):
    return wulf.getDateFormat(value, wulf.DateFormatType.SHORT_FORMAT)