コード例 #1
0
ファイル: stock.py プロジェクト: xtyangpsp/antelope_contrib
def epoch2str(epoch, fmt, tz = None):
    """Convert an epoch time to a string"""

    try:
    
        ret = _stock._epoch2str(epoch, fmt, tz)
    
    except _stock._ElogException, _e:

        _raise_elog(_e)
コード例 #2
0
ファイル: stock.py プロジェクト: vonseg/antelope_contrib
def epoch2str(epoch, fmt, tz = None):
    """Convert an epoch time to a string"""

    return _stock._epoch2str(epoch, fmt, tz)